Privilege Conditions
The rights granted via a role in the yuuvis® RAD rights management can be accompanied by a clause that further refines them. The clause represents the WHERE part of an eSQL statement. So any clause will be constructed as follows: select * from dms:typename where <clause>. This page gives you examples of the possible clauses that can be used in this context.
It is important to know that the rights controlling the visibility of an object – 'Available' and 'Display' – will be precompiled and written to the Elasticsearch database. Thus, statements with dynamic parts such as currentuserid() or dateadd() will not work for these rights.
Selecting Objects by Date/Time Criteria
Important
The
sysitemcreationdatefield selects the creation date of the entire object (item), whereassyscreationdateselects the creation date of the active version.The datetime identifier takes input of the form
yyyy-MM-dd hh:mm:ss. The only required part isyyyy, but all left out parts will be autocompleted with 00.Object type names and element (field) names are accessed by their technical names.
Clause | Description |
|---|---|
| The right will be granted to all objects (of the corresponding object type) that were created before or exactly on January 23, 2018, 13:14:15. |
| The right will be granted to all objects (of the corresponding object type) that were created and last modified before July 1, 2018, 00:00:00. |
| The right will be granted to all objects (of the corresponding object type) where |
| The right will be granted to all objects (of the corresponding object type) that were created a week ago from now (including the time) or earlier. WARNING: This is a dynamic statement. Do not use this for the 'Available' or 'Display' right. |
Selecting Objects by Creator Criteria
Statement | Description |
|---|---|
| The right will be granted to all objects (of the corresponding object type) where the creator of the currently active version was |
| The right will be granted to all objects (of the corresponding object type) where the creator of the currently active version was the currently logged-in user. WARNING: This is a dynamic statement. Do not use this for the 'Available' or 'Display' right. |
| The right will be granted to all objects (of the corresponding object type) where the creator of the first version was |
Selecting Objects by Index Data/ID
Statement | Description |
|---|---|
| The right will be granted to the object (of the corresponding object type) with the item ID |
| The right will be granted to all objects (of the corresponding object type) where the field |
| The right will be granted to all objects (of the corresponding object type) where the field |
| The right will be granted to all objects (of the corresponding object type) where the field |
| The right will be granted to all objects (of the corresponding object type) where the table |
| Valid for versions >= 9.0 The right will be granted to all objects (of the corresponding object type) where the field of type SET[string] (multi-tagging) with the technical name |
| The right will be granted to all objects of type |