Case Level Permissions: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 25: | Line 25: | ||
|} | |} | ||
== Examples == | == Examples of Defining Case Security Settings == | ||
Create a permission filter so that visibility of cases is limited in a way hat only users belonging to a user group whose name equals to Region case attribute value. | Create a permission filter so that visibility of cases is limited in a way hat only users belonging to a user group whose name equals to Region case attribute value. | ||
<pre> | <pre> |
Revision as of 16:35, 6 February 2018
There is model JSON settings for each QPR ProcessAnalyzer model. The JSON settings contain configurations and settings related to the model. The model needs to be reloaded for the changed settings to take effect.
The below defined settings are available.
Property | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
Permissions | Permissions section specifies data security based visibility restrictions for objects within the QPR ProcessAnalyzer model. The feature is available in In-Memory core. If these settings have not been set, all the model data within is visible to all the users having GenericRead permission for the project in which the model resides. It is possible to configure additional case level permissions by using these settings.
|
Examples of Defining Case Security Settings
Create a permission filter so that visibility of cases is limited in a way hat only users belonging to a user group whose name equals to Region case attribute value.
{ "Permissions": { "Initialization": "Let(\"groupNames\", OrderByValue(CurrentUser.GroupNames))", "Case": "Region.In(groupNames)", "EventLogKey": "StringJoin(\"_\", groupNames)" } }
Create a permission filter so that every case is only visible for users whose user name equals to Account Manager case attribute value.
{ "Permissions": { "Initialization": "Let(\"userName\", CurrentUser.Name)", "Case": "(Attribute(\"Account Manager\") == userName)", "EventLogKey": "CurrentUser.Id" } }