Need to check user group "Role" in UI Policy

subashds6515
Tera Contributor

By using UI policy , i'm going to find  the user 'group role . if the group role  is itil_admin , will make the field editable for the particular user.

23 REPLIES 23

Anurag Tripathi
Mega Patron
Mega Patron

What is Group Role? Can you share some screenshot what you mean?

-Anurag

These are the screenshots.

Screenshot 2023-05-04 113157.png

ā€ƒ

Screenshot 2023-05-04 113232.png

ā€ƒ

Karan Chhabra6
Mega Sage
Mega Sage

Hi @subashds6515 ,

 

Users inherit the roles of their repective groups, so you don't need to check for the group's role, instead, just check if that particular user has 'itil_admin' role or not.

 

If my answer helped with your question, please mark it as correct and helpful

 

Thanks!

subashds6515
Tera Contributor

I have given this script in my UI Policy, But its not working.

I have shared the screenshots for your reference, kindly have a look at this and help me out.