Only users with the admin role should have the ability to add and remove checklist_items.

MayurGavhane
Tera Contributor

 

Hi All,

I'm using a checklist on my incident form, but I don't want non-admin users to be able to add or remove items(checklist_items).

I tried using the UI macro (inline_checklist_macro) script, but it made all the checkboxes ready-only.

Also can we create report using these checklists.

 

MayurGavhane_0-1691082739498.png

 

@Ankur Bawiskar 

@Ravi Chandra_K

@Samaksh Wani  

 

 

1 ACCEPTED SOLUTION

sushantmalsure
Mega Sage
Mega Sage

Hi @MayurGavhane 

This can be done by adjusting the create ACL present on checklist table.

OOB ACL is present here : https://<instance>.service-now.com/sys_security_acl.do?sys_id=0a3ac670c30202004e44dccdf3d3ae52

 

replace instance with your instance name.

 

Remove the role (if any) and in script just write : answer = false; and keep admin overrides to true.

Now this ACL will only allow admins to create new checklist items and keep new items creation from non-admin users.

 

Do check if there are any other create() ACLs present on checklist table to make sure non-admin should not have access to create. 

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure

View solution in original post

10 REPLIES 10

Have you modified the write acl as well?

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure

Hi @sushantmalsure 

Yes I did same changes for write and Insert ACLs(checklist_item).

 

I think there is no need to modify write ACL , just with create ACL this can be handled 

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure

Hi Sushant,

Yes its working with Create ACL.

Last question Can we export it in a pdf format like only checklist things.

when incident get closed.

@sushantmalsure  

@MayurGavhane 

checklist is the table where all the checklists items are present.

Do checklist.list , and then from header you can export them to PDF for any specific incident on demand .

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure