pub fn apply_default_role(
ctx: &AuthContext<impl AuthSchema>,
create_user: &mut CreateUser,
)Expand description
Apply the configured default admin role to a new user when the caller didn’t set an explicit role.
pub fn apply_default_role(
ctx: &AuthContext<impl AuthSchema>,
create_user: &mut CreateUser,
)Apply the configured default admin role to a new user when the caller didn’t set an explicit role.