Is it possible to set a role restriction on locati...
# administration
b
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
Only using a workflow/script
b
but what do you see in the GUI when actually entering the role page?
e
What do you mean?
b
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
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
@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
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.
🎯 1