Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Sav role permission

Saviynt_learner
Regular Contributor II
Regular Contributor II

Note: Its working, there was a delay in sync.

 

Is there any way we can restrict /allow user to request for self, and users from same department.

I tried to write advanced query in Whom to request section. But its not working as expected.

 

Saviynt_learner_0-1707296596155.png

Query: select a from Users a where a.departmentname='${users.departmentname}'

 

 

 

 

2 REPLIES 2

SumathiSomala
All-Star
All-Star

@Saviynt_learner Try below samples

[
{
"for": "RequestAccessforOthers",
"query": "select a from Users a where a.departmentname='${users.departmentname}'"
}
]


______________________________

[
{
"for": "RequestAccessforOthers,ViewExistingAccess",
"query": "select a from Users a where a.departmentname='${users.departmentname}'"
}
]

 

Regards,
Sumathi Somala
If this reply answered your question, please Accept As Solution and give Kudos.

Thanks for the response, Anyways Query provided in the question is working fine, there was a slight delay in data sync, so couldn't see the changes applied.