Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

Group Managers should be able to edit fields on groups records and should be able to add/edit member

shikhakhann
Tera Contributor

Hi,

Group Managers should be able to edit fields on groups records and should be able to add/edit member in the groups without consuming ITIL license.
Please suggest the best approach to achieve this.

Thanks.

7 REPLIES 7

Tanushree Maiti
Tera Patron

Hi @shikhakhann 

 

Use this code. It will work.

 

A.Create a Write ACL on the sys_user_group table.
Condition: Use the condition
           Manager is Dynamic (Me) 
   OR 
   Add a ACL script like 
   current.manager == gs.getUserID();
   
 
B. Create ,write  record-level ACLs on the sys_user_grmember table.
ACL Sctipt :
           answer = fn_check();
   function fn_check()
   {
    if (current.group.manager == gs.getUserID())
return true;
else 
             return false; 
   }
Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

I tried step point B by creating acl on group member table but it still doesn't show the edit button to managers on the related list to add group members to a group 

Tanushree Maiti
Tera Patron

Hi  @shikhakhann 

 

Use this code. It will work.

 

A.Create a Write ACL on the sys_user_group table.
Condition: Use the condition
           Manager is Dynamic (Me) 
   OR 
   Add a ACL script like 
   current.manager == gs.getUserID();
   
 
B. Create ,write  record-level ACLs on the sys_user_grmember table.
ACL Sctipt :
           answer = fn_check();
   function fn_check()
   {
    if (current.group.manager == gs.getUserID())
return true;
else 
             return false; 
   }
Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti