Enable assignment group manager to edit assignment group description / custom field in group?

Matt Burns
Tera Contributor

Hi there,


Was wondering what ACL would need to be built out to enable a manager of an assignment group to edit the description of a group. We also have a custom field that references the user table for additional managers that I'd like to enable it to be editable. Am guessing the solution for the description will work for the additional managers field too.

Thanks!

3 REPLIES 3

JP - Kyndryl
Kilo Sage

Hi Matt,

https://servicenowguru.com/system-definition/group-managers-manage-group-members/

 

Regards.

JP

 

Regards,
JP

Yousaf
Giga Sage

Hi Matt,

You can create write ACL for that field and give access to the role that manager has.

 

 

Mark Correct or helpful if it helps.


***Mark Correct or Helpful if it helps.***

Right, trying to figure out what the script would be to do that.

Below is not working so far.

var answer = false; //Restrict access by default
if(gs.hasRole('user_admin') || current.manager == gs.getUserID()){
   answer = true; //Allow access if user has 'user_admin' role or is group manager
}