Skip to the content
Documentation

ezrole

No ratings yet
Summary

Contains information about a role.

Persistent

Yes.

Attributes
Attribute Type Description
id string The ID number of the role.
version integer The current version of the role, 0 is the currently active role while any
other values are temporary versions.
name string The name of the role (for example "Anonymous").
is_new integer 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 The policies (as ezpolicy objects) that make up the role.
limit_identifier string 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 The value for the "limit_identifier" attribute (when the limitation feature is in use).

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.