System.Admin and System.User permissions

0
Hi all, Can anyone please help me in understanding what is the below XPath conditions. PFA.     Edited:  Second XPath condition is [System.UserRoles = '[%CurrentUser%]' or System.grantableRoles[reversed()]/System.UserRole/System.UserRoles = '[%CurrentUser%]']   Thank you.
asked
1 answers
0

Hi Venkatesh, 

The first screenshot [id = [’%CurrentUser%]’] is making it so users can only see their own user profile. So when I am logged in to your app and I retrieve a list of users, I will only see myself. 

The second screenshot, I can’t see all of the Xpath constraint, but it looks like it is making it so the user can only see their own user role and not others. 

So if I have the user role “User” I cannot see other “Administrator” role. 

Hope that helps!

answered