define a rql expression used to define permissions |
Attributes
| name (6) | type | default value | required | constraints | description | options |
|---|---|---|---|---|---|---|
| exprtype (expression's type) | String | yes | value in ('ERQLExpression', 'RRQLExpression') size <= 14 | |||
| mainvars (main vars) | String | no | size <= 8 |
name of the main variables which should be used in the selection if necessary (comma separated) | ||
| expression (expression) | String | yes |
restriction part of a rql query. For entity rql expression, X and U are predefined respectivly to the current object and to the request user. For relation rql expression, S, O and U are predefined respectivly to the current relation'subject, object and to the request user. | |||
| modification_date (modification date) | International date and time | yes |
latest modification time of an entity | |||
| cwuri (internal uri) | String | yes |
internal entity uri | |||
| creation_date (creation date) | International date and time | yes |
creation time of an entity |
Relations
RQLExpression is subject of:
| name (5) | object type | cardinality | constraints | options |
|---|---|---|---|---|
| created_by (created by) | CWUser (User) | 0..1 | ||
| cw_source (source) | CWSource (Data source) | 1 | composite=object | |
| is (is) | CWEType (Entity type) | 1 | ||
| is_instance_of (is instance of) | CWEType (Entity type) | 1..n | ||
| owned_by (owned by) | CWUser (User) | 0..n |
RQLExpression is object of:
| name (12) | subject type | cardinality | constraints | options |
|---|---|---|---|---|
| add_permission (has permission to add) | CWEType (Entity type) | 0..n | composite=subject | |
| add_permission (has permission to add) | CWRelation (Relation) | 0..n | composite=subject | |
| add_permission (has permission to add) | CWAttribute (Attribute) | 0..n | composite=subject | |
| condition (condition of) | BaseTransition (Transition (abstract)) | 0..n | composite=subject | |
| delete_permission (has permission to delete) | CWEType (Entity type) | 0..n | composite=subject | |
| delete_permission (has permission to delete) | CWRelation (Relation) | 0..n | composite=subject | |
| read_permission (has permission to read) | CWComputedRType (Virtual relation) | 0..n | composite=subject | |
| read_permission (has permission to read) | CWEType (Entity type) | 0..n | composite=subject | |
| read_permission (has permission to read) | CWRelation (Relation) | 0..n | composite=subject | |
| read_permission (has permission to read) | CWAttribute (Attribute) | 0..n | composite=subject | |
| update_permission (has permission to update) | CWAttribute (Attribute) | 0..n | composite=subject | |
| update_permission (has permission to update) | CWEType (Entity type) | 0..n | composite=subject |