A utility class to make managing rights easier.
More...
|
def | zip |
| Zip the rights in the specified iterable into a string that represents each right (useful for storing rights information in a database). More...
|
|
def | unzip |
| Unzip the rights in the specified string into a list of rights (useful for retrieving rights information from a database). More...
|
|
def | validate |
| Validate that the specified list of rights contains only those rights which are allowed. More...
|
|
A utility class to make managing rights easier.
def Plugins.User.Subscriptions.Rights.unzip |
( |
|
Self, |
|
|
|
rights |
|
) |
| |
Unzip the rights in the specified string into a list of rights (useful for retrieving rights information from a database).
def Plugins.User.Subscriptions.Rights.validate |
( |
|
Self, |
|
|
|
rights |
|
) |
| |
Validate that the specified list of rights contains only those rights which are allowed.
def Plugins.User.Subscriptions.Rights.zip |
( |
|
Self, |
|
|
|
rights |
|
) |
| |
Zip the rights in the specified iterable into a string that represents each right (useful for storing rights information in a database).
dictionary Plugins.User.Subscriptions.Rights.allowedRights |
|
static |
Initial value:
The rights allowed to exist within a rights string.
The documentation for this class was generated from the following file: