Join us Dec. 16 for The Community Hour, our first global virtual User Group event!

Restriction of running a background script

Evren Yamin
Tera Contributor

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.

 

2 REPLIES 2

Ankur Bawiskar
Tera Patron

@Evren Yamin 

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.

Enrique Collazo
ServiceNow Employee

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."

 

https://docs.servicenow.com/bundle/tokyo-application-development/page/script/server-scripting/concep...