Restriction of running a background script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2022 08:08 PM
Hello All,
I have a requirement to restrict admin users to make changes on a user table and that includes restricting them to use a background script update the sys_user table.
Is there a way to do this? Can we restrict admin users to run a background script on a user table?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2022 08:17 PM
what's the business requirement?
You cannot use ACL for this as GlideRecord don't respect ACLs
It's difficult to determine in before update BR on sys_user table if the update is happening from background script or from some other place.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2023 12:47 PM
This mite be helpful:
"By default, administrators can access this module without elevating privileges. If you want to require elevated privileges to access this module, set the system property glide.script_processor.admin to security_admin."