only allow guests to register for specific events; don't even show them the other trips

This commit is contained in:
2023-04-29 18:57:01 +02:00
parent 5b06eaeebc
commit bb4dba7bc9
12 changed files with 96 additions and 29 deletions

View File

@ -17,7 +17,7 @@ pub struct User {
pw: Option<String>,
pub is_cox: bool,
pub is_admin: bool,
is_guest: bool,
pub is_guest: bool,
#[serde(default = "bool::default")]
deleted: bool,
}