UberuserChange
final class UberuserChange (View source)
A pending change that can take super admin away from users, described so the repository can count who would still hold it once the change is written.
Methods
static UberuserChange
none()
No change: counts the super admins there are now.
static UberuserChange
templateDropsUberuser(int $templateId)
The template stops granting user_is_ueberuser.
static UberuserChange
groupDeleted(int $groupId)
The group goes, and its memberships with it.
static UberuserChange
memberRemoved(int $groupId, int $userId)
The user leaves the group.
static UberuserChange
groupTemplateChanged(int $groupId, int $templateId)
The group moves to another permission template.
Details
static UberuserChange
none()
No change: counts the super admins there are now.
static UberuserChange
templateDropsUberuser(int $templateId)
The template stops granting user_is_ueberuser.
static UberuserChange
groupDeleted(int $groupId)
The group goes, and its memberships with it.
static UberuserChange
memberRemoved(int $groupId, int $userId)
The user leaves the group.
static UberuserChange
groupTemplateChanged(int $groupId, int $templateId)
The group moves to another permission template.