ezrole
Summary
Contains information about a role.
Persistent
Yes.
Attributes
| Attribute | Type | Static* | Description |
|---|---|---|---|
| id | string | Yes. | The ID number of the role. |
| version | integer | Yes. | The current version of the role, 0 is the currently active role while any other values are temporary versions. |
| name | string | Yes. | The name of the role (for example "Anonymous"). |
| is_new | integer | Yes. | The creation state of the role, will be 1 if the role just got created but have not been activated yet, 0 otherwise. |
| policies | array | No. | The policies (as ezpolicy objects) that make up the role. |
| limit_identifier | string | No. | The identifier of the limited assignment for the currently logged in user. Will be FALSE if the limited assignment is not used. |
| limit_value | string | No. | The value for the "limit_identifier" attribute (when the limitation feature is in use). |
| user_role_id | string | No. | Not documented yet. |
* Indicates whether the attribute provides a pre-fetched value or if it needs to be computed upon request.
Contributors
- Balazs Halasy Maintainer
- Svitlana Shatokhina Updated Maintainer
Comments
Add a comment