define a rql expression used to define permissions

schema BaseTransition BaseTransition name (String) type (String) description (String) description_format (String) RQLExpression RQLExpression exprtype (String) mainvars (String) expression (String) BaseTransition->RQLExpression condition 0..n 0..1 Transition Transition name (String) type (String) description (String) description_format (String) Transition->RQLExpression condition 0..n 0..1 WorkflowTransition WorkflowTransition name (String) type (String) description (String) description_format (String) WorkflowTransition->RQLExpression condition 0..n 0..1

Attributes

name (6)typedefault valuerequiredconstraintsdescriptionoptions
exprtype (expression's type)Stringyesvalue in ('ERQLExpression', 'RRQLExpression')
size <= 14
mainvars (main vars)Stringnosize <= 8

name of the main variables which should be used in the selection if necessary (comma separated)

expression (expression)Stringyes

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 timeyes

latest modification time of an entity

cwuri (internal uri)Stringyes

internal entity uri

creation_date (creation date)International date and timeyes

creation time of an entity

Relations

RQLExpression is subject of:
name (5)object typecardinalityconstraintsoptions
created_by (created by)CWUser (User)0..1
cw_source (source)CWSource (Data source)1composite=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 typecardinalityconstraintsoptions
add_permission (has permission to add)CWEType (Entity type)0..ncomposite=subject
add_permission (has permission to add)CWRelation (Relation)0..ncomposite=subject
add_permission (has permission to add)CWAttribute (Attribute)0..ncomposite=subject
condition (condition of)BaseTransition (Transition (abstract))0..ncomposite=subject
delete_permission (has permission to delete)CWEType (Entity type)0..ncomposite=subject
delete_permission (has permission to delete)CWRelation (Relation)0..ncomposite=subject
read_permission (has permission to read)CWComputedRType (Virtual relation)0..ncomposite=subject
read_permission (has permission to read)CWEType (Entity type)0..ncomposite=subject
read_permission (has permission to read)CWRelation (Relation)0..ncomposite=subject
read_permission (has permission to read)CWAttribute (Attribute)0..ncomposite=subject
update_permission (has permission to update)CWAttribute (Attribute)0..ncomposite=subject
update_permission (has permission to update)CWEType (Entity type)0..ncomposite=subject