How to hide UI action for a specific group?

GP001
Tera Contributor

Hello Community,

I have a requirement as below :

I want to hide a UI action on change record table for a specific group.

Thank you in advance.

1 ACCEPTED SOLUTION

Unique45
Mega Sage

Hello @GP001,

Add condition like below:

 

!(gs.getUser().isMemberOf('GROUP_NAME'))

 

Unique45_0-1711980654103.png

 

Please mark correct/helpful if this helps you!

View solution in original post

3 REPLIES 3

luffy3478
Tera Guru

It is easy to show only some roles by using roles sections. Which will restrict the UI action to this group if the group does not have the role.

 

Else, add in the condition !gs.getUser().isMemberOf(<group name>)

Unique45
Mega Sage

Hello @GP001,

Add condition like below:

 

!(gs.getUser().isMemberOf('GROUP_NAME'))

 

Unique45_0-1711980654103.png

 

Please mark correct/helpful if this helps you!

GP001
Tera Contributor

Thanks a lot.