Is it possible to set a role restriction on location=X OR department=Y?
For example: restrict only if location is UK OR department is IT
e
Edgar Valdés
05/10/2023, 4:38 PM
Only using a workflow/script
b
Bit
05/10/2023, 4:39 PM
but what do you see in the GUI when actually entering the role page?
e
Edgar Valdés
05/10/2023, 5:48 PM
What do you mean?
b
Bit
05/10/2023, 5:49 PM
i am trying to identify the relationships between the different restriction.
How can i differentiate between the two flows? suppose someone indeed configured OR relationship between the restrictions of a role
e
Edgar Valdés
05/10/2023, 5:52 PM
AFAIK you can't define an OR rule in the restrictions section of the Role configuration page.
You can use workflows or scripts for advanced logic.
🎯 1
l
Luis
05/10/2023, 10:03 PM
@Edgar Valdés how do you prevent users with such restrictions imposed by scripts to not be able to get the data through reports/saved searches/workbooks/datasets without removing their permission to do create/edit them? That's our issue when we implemented restrictions via WF/SS2.X.
e
Edgar Valdés
05/10/2023, 10:29 PM
When a single job position must have this mixed restrictions, we simply create two or more roles for the user, each role as restricted as possible. It's a pita to maintain such roles, but it's better for us.