Edit Button in the group Member related list on group form not working

Community Alums
Not applicable

Hi Team,

 

There is a requirement in our project that only Group Managers having ITIL role should be able to add/remove users to the group apart from user_admin role.

 

For this I have created 3 Create ACls and 1 delete ACLs and 1 BR and this works fine. But the problem is the user who is not a manager or if manager field is blank on the group form, they are able to see the Edit button on the related list Group Members and when they try to add/remove users they are not able to that is fine.

But we want then to restrict viewing of Edit button

 

To restrict the visibility of Edit button, I have written List Control script for Omit Edit button, it is visible only when a loggedin user is either a group manager or is having user_admin role .

 

But now when the group manager logs in to servicenow and click on the Edit button he gets the message as "Action not authorised"

Ankur20_0-1712070335293.png

 

 

Below are the 3 Create ACLs:

1st ACL:

Ankur20_1-1712070407139.png

2nd ACL:

Ankur20_2-1712070433511.png

3rd ACL:

Ankur20_3-1712070455952.png

 

Business Rule:

Before Insert BR:

Ankur20_4-1712070506625.png

 

List Control Script:

 

Ankur20_5-1712070692299.png

 

Can you help solving this error?

1 REPLY 1

Vihitha
Tera Contributor

Hi

I am facing the same issue. Are you able to find the solution