Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

can_set_admin_usergroup()

Description

Consider if the current user is able to escalate the permissions of a user to the level of a "super admin".
Only users with "a" permission should be able to make other users super admins (user groups with "a" permission).
Also used to determine if "super admin" level user groups should be displayed.

Parameters

ColumnTypeDefaultDescription
$new_usergroup int ID of user group to be set

This article was last updated 17th May 2024 13:35 Europe/London time based on the source file dated 10th May 2024 12:15 Europe/London time.