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
Kilo 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 mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

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
Kilo 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 mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: