ezpolicy
Summary
Contains information about a policy.
Persistent
Yes.
Attributes
| Attribute | Type | Static* | Description |
|---|---|---|---|
| id | string | Yes. | The ID number of the policy. |
| role_id | string | Yes. | The ID number of the role the policy belongs to. |
| module_name | string | Yes. | The name of the module that the policy grants access to (for example "content"). |
| function_name | string | Yes. | The name of the function that the policy grants access to (for example "read"). |
| limitations | array | No. | The limitations (if any) of the policy. |
| role | object | No. | The role (as ezrole object) that the policy belongs to. |
| limit_identifier | string | No. | Not documented yet. |
| limit_value | string | No. | Not documented yet. |
| 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.
Changed in Exponential 6.0.15
The attributes of ezpolicy as eZPolicy::definition() of Exponential 6.0.15 gives them (kernel/classes/ezpolicy.php):
| Attribute | Change |
|---|---|
| original_id | An attribute in 6.0.15 (field ezpolicy, integer); this page did not list it. |
Contributors
- Balazs Halasy Maintainer
- Svitlana Shatokhina Maintainer
- Graham Brookins Updated
Comments
Add a comment