Enable assignment group manager to edit assignment group description / custom field in group?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2022 10:34 AM
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2022 10:47 AM
Hi Matt,
https://servicenowguru.com/system-definition/group-managers-manage-group-members/
Regards.
JP
JP

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2022 11:23 AM
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.***
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2022 12:03 PM
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
}