Group manager is not able to remove members from the group

Darshana2
Tera Contributor

 

 

Group manager is not able to remove group members from the group and also he is able to see edit button. while clicking the edit button able to see slash bucket but after save user are not removing from the group.

Can anyone help me in this issue.

5 REPLIES 5

Community Alums
Not applicable

Hi @Darshana2 ,

 

Try Below ACL Script with no role

Create Delete and Write ACL on table level (‘sys_user_grmember’) 

check advanced 

in script write below

 

if(typeof parent != 'undefined' && parent.manager == gs.getUserID()){
   answer = true; //Allow access if user has 'user_admin' role or is group manager
}else{

answer = false;

}

 

I also checked for your problem I got similar solution for that 

https://www.servicenow.com/community/virtual-agent-forum/group-manager-should-be-able-to-remove-add-...

 

I hope this helps you!

 

Please mark my answer correct and helpful if this works for you

 

Thanks and Regards 
Sarthak