Function got_ya_id::apps::user::views::change_user_access_level [−][src]
pub async fn change_user_access_level(
req: HttpRequest,
data: Json<NewUserLevel<'_>>
) -> HttpResponse
Changes an account’s user level For a user to increase another’s prilidge, they must have a higher/equal priviledge than/equal to the one requested.
Ordinary users can’t change another’s access.
url
/auth/access