How to provide access to users to delete the saved filters

kavyahv
Kilo Contributor

Hi All,

I have a requirement where users should be able to delete their the saved filters.

Wiki says only administrators can delete the saved filters.

Also there is a acl where it says filter_admin role delete the filter which is not working as expected.

Is there a way that I can provides access for eg:ITIL user to delete the saved filters.

Regards,

kavya

7 REPLIES 7

The SN Nerd
Giga Sage
Giga Sage

If you navigate to the filter_admin role and the 'Access to' tab, you can see which ACL's exist for that role.


In an OOB system, it can be seen that 'filter_admin' does not have any 'delete' ACL's, so any user can delete a filter record (sys_filter!)



If your system is preventing this, there should be a delete ACL record on the sys_filter table. You'll just need to add the appropriate roles and/or conditions.



ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

HI Paul,



I have made all the delete ACL false on the sys_filter table, still the delete option seems be grayed out.


Is there I can else I can do on this


  • Enable 'Debug all Security'
  • Impersonate the affected user
  • Open a list of filters (enter sys_filter.list in the navigation pan)
  • Open any filter record
  • Search the debug information for /delete
  • Follow the links to the ACL to determine why the delete ACL is not passing
    • Maybe re-enable your ACL with answer=true and role of itil or filter_admin

ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

Hi Paul,



Thanks.Found that some customizations was done to UI actions.