Prevent an admin from specific deletions in background script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago - last edited 4 hours ago
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....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
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.
