Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Update sets for non admins ACL issue

Marcin Witosla1
Tera Expert

Hello ,

I have created new role update_set_admin to manage update set. Users with this role can:

  • see update set picker (System property glide.ui.update_set_picker.role set to true and write roles (my new role added))
  • see update sets created by themselves (ACL on sys_update_set READ CREATE DELETE WRITE) but they can see all Update sets ACL script is needed Please help with this
  • see Local Update sets application module (new role added to module)
  • they cannot  move update sets (ACL READ created on sys_remote_update and sys_update_XML)
  • edit other user update set Please help with this

 

Kind Regards

Marcin

1 ACCEPTED SOLUTION

Ah. This is not create issue. This is read issue.


So you also have to create one * ACL.  Try sys_update_set.* ACL.

 

Thanks,
Ashutosh

View solution in original post

8 REPLIES 8

Hi,

This create ACL should work. You dont see new button when you click on local update sets?

 

Thanks,
Ashutosh

I see new button.When i clicked on it this will show:

find_real_file.png

Ah. This is not create issue. This is read issue.


So you also have to create one * ACL.  Try sys_update_set.* ACL.

 

Thanks,
Ashutosh

Final solution:

3 ACLs sys_update_set  -None-  (Create Read Write) added role update_set_admin

Create and Read script:

answer = false;

if(current.sys_created_by ==gs.getUserName() ||current.isNewRecord()

answer = true;

3 fields ACLs sys_update_set *  (Create Read Write) added role update_set_admin

sys_remote_update_set  -None- Read added role update_set_admin