A permission to perform administrative functions.
A composition of all permissions.
A composition of all permissions.
This is equivalent to the bitwise union of the following permissions:
Read | Write | Create | Delete | Admin
A permission to create.
A permission to delete.
A permission to read.
A permission to write.
Constructs a new ACL from the input string s
.
Constructs a new ACL from the input string s
.
a string representing the ACL
the ACL in s
if it conforms to the specific syntax
Constructs a new ACL using the given identity and permission.
Constructs a new ACL using the given identity and permission.
a string representing the scheme
a string representing the id
the bitwise union of permissions that apply to the ACL
an ACL with the given scheme
, id
and permission
, where scheme
and id
collectively represent the identity
Constructs a new ACL using the given identity and permission.
Constructs a new ACL using the given identity and permission.
the identity to which permissions apply
the bitwise union of permissions that apply to the ACL
an ACL with the given id
and permission
Parses the ACL in the input string s
.
Parses the ACL in the input string s
.
The syntax of s
is scheme:
id=
[rwcda*
], where scheme
and id
may be empty and any of rwcda*
may be
repeated zero or more times.
a string representing the ACL
a Some
containing the ACL in s
if it conforms to the specified syntax, otherwise None
Used in pattern matching to deconstruct an ACL
Used in pattern matching to deconstruct an ACL
selector value
a Some
containing id
and permission
if the selector value is not null
, otherwise None
Constructs and deconstructs ACL values.
The permissions assigned to an ACL are constructed by performing a bitwise union of individual permission attributes: Read, Write, Create, Delete, Admin. In addition, the All permission encompasses all of these attributes.
Several commonly used ACL values have been predefined for sake of convenience: AnyoneAll, AnyoneRead, CreatorAll.