SuperUserRole.php
SuperUserRole matches if the user has the super user attribute.
Definition: SuperUserRole.php:21
DynamicRole is the interface for user roles based on attributes.
Definition: DynamicRole.php:20
isSuperUser()
Check if the user is super user (can't be inactive).
match(User $user, $resource)
Definition: SuperUserRole.php:26