Prevent an admin from specific deletions in background script

Anton42
Tera Expert

Hello,

is it possible to prevent background script deletion of only a specific table like sys_user for admin users?

 

So, for example:

We want to prevent, that users with admin role cannot execute deletion on the sys_user table.

 

Thank you in advance.

11 REPLIES 11

That would block the whole background script execution which will be too much. We just want to prevent them from executing deletions on a specific table.

 

Anyways, I am wondering what the difference is between this property and the new "scripting governance" function....

yashkamde
Kilo Sage

Hello @Anton42 ,

 

As per my understanding, you cannot technically prevent background scripts from deleting sys_user(or any custom table) records while still allowing admins to run other background scripts. The workaround is to restrict background script access altogether, or enforce a business rule that blocks deletions on sys_user regardless of execution context.

If my response helped mark as helpful and accept the solution.