How to restrict ITIL user from creating a new dashboard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2023 02:06 AM
I want to restrict ITIL user from creating new dashboards.
Below highlighted button should not be visible for ITIL user. How to achieve that?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2023 02:41 AM
Hi Anamika,
There is an ACL where you can Restrict ITL role "pa_dashboards". OR
Create New ACL with operation as create and give role who can not create it.
Kindly mark Correct and Helpful if Applicable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2023 05:09 AM
Hi Chetan,
I had created a create ACL for pa_dashboards but it is not working. Please help me

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2023 01:02 AM
Hi @Anamika Gupta ,
Navigate to ACL : https://InstanceName.service-now.com/sys_security_acl.do?sys_id=0f9d037e873212001ac119fa84e3eccb&sysparm_view=&sysparm_domain=null&sysparm_domain_scope=null&sysparm_record_row=1&sysparm_record_rows=24&sysparm_record_list=nameCONTAINSpa_dashboard%5eORDERBYname
you will get below script define in that ACL
//Grant access to users that have at least one role
answer = gs.getProperty('glide.cms.enable.responsive_grid_layout', 'true') === 'true' && gs.getUser().hasRoles()
//Replace it with
answer = gs.getProperty('glide.cms.enable.responsive_grid_layout', 'true') === 'true' && gs.getUser().hasRoles() && !(gs.getUser().hasRole('itil'));
I have tested and its worked for me.
Kindly mark correct and helpful if applicable

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2023 03:15 AM
Hi @Anamika Gupta ,
- Navigate to the dashboard to restrict to specific roles.
- Click the context menu (
- In the Restrict to roles field, specify the additional roles required to access the dashboard.
Users with any of the specified roles can access the dashboard only if it has been shared with them first from the Share panel.
Only users with the restricted role are able to view the dashboard. A message on the Sharing panel indicates which roles have access. Click the roles in this message to view the properties of the dashboard.
Also, refer to this thread :https://www.servicenow.com/community/developer-forum/how-to-prevent-a-user-from-creating-a-dashboard...