PermissionSet
Efficiently stores a permission set
Constructors
Constructs set from any Iterable
Constructs set from array
Constructs set from permission string
Types
Functions
Check permission in the set
Check all permissions in the set
Extensions
Returns a set containing all permissions of the original set except the given permission.
Returns a set containing all permissions of the original set except the permissions contained in the given permissions array.
Returns a set containing all permissions of the original set except the permissions contained in the given permissions collection.
Returns a set containing all permissions of the original set and then the given permission if it isn't already in this set.
Returns a set containing all permissions of the original set and then the given permissions array, which aren't already in this set.
Returns a set containing all permissions of the original set and then the given permissions collection, which aren't already in this set.