pub struct GroupSignUpConditions {Show 22 fields
pub deprecated: BTreeMap<String, String>,
pub at_least_one_leader_can_create_new_person: bool,
pub can_contact_leader: bool,
pub can_sign_up: bool,
pub can_sign_up_as_new_person: bool,
pub default_role_set_in_group: Option<bool>,
pub end_date_not_passed: bool,
pub group_allows_waitinglist: bool,
pub group_has_leader: bool,
pub group_has_space_for_requests: bool,
pub group_has_space_on_waitinglist: bool,
pub group_is_active: bool,
pub group_is_not_full: bool,
pub group_is_not_hidden: bool,
pub group_is_open_for_members: bool,
pub group_is_public: bool,
pub group_visibility: String,
pub new_person_department_is_set: bool,
pub new_person_station_is_set: bool,
pub new_person_status_is_set: bool,
pub sign_up_role_set_in_group: bool,
pub extra: Map<String, Value>,
}Expand description
Specifies conditions required to sign up in this group. Not all conditions apply to any user, e.g. some of the conditions only apply to users that are not logged in.
Fields§
§deprecated: BTreeMap<String, String>§at_least_one_leader_can_create_new_person: bool§can_contact_leader: boolIf false, none of the group’s leaders have an email address set. Only persons already signed in can sign up.
can_sign_up: bool§can_sign_up_as_new_person: bool§default_role_set_in_group: Option<bool>deprecated in the ChurchTools API
end_date_not_passed: boolIf false, the group’s end date has passed and nobody can sign up.
group_allows_waitinglist: bool§group_has_leader: boolIf false, no leader is set for the group and nobody can sign up.
group_has_space_for_requests: bool§group_has_space_on_waitinglist: bool§group_is_active: boolIf false, the group is not in active state and nobody can sign up.
group_is_not_full: boolIf false, the group’s max number of members is reached and nobody can sign up.
If false, the group is set to hidden and nobody can sign up.
group_is_open_for_members: boolIf false, the group is not set to be open for members and nobody can sign up.
group_is_public: boolIf false, the group is not public and only users already signed in are allowed to sign up.
group_visibility: StringThe visibility of a group.
Allowed values: hidden, intern, public, restricted.
new_person_department_is_set: boolIf false, the default department for new users is not set. When persons without an account attempt to sign up, no new user accounts will be created but the group leader will be requested by mail.
new_person_station_is_set: boolIf false, the default station for new users is not set. When persons without an account attempt to sign up, no new user accounts will be created but the group leader will be requested by mail.
new_person_status_is_set: boolIf false, the default status for new users is not set. When persons without an account attempt to sign up, no new user accounts will be created but the group leader will be requested by mail.
sign_up_role_set_in_group: boolIf false, the sign-up role is not set for the group and nobody can sign up when that role is required.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.