How can we stop scripts from doing certain things in the database?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2024 12:37 AM
How can I stop scripts from executing specific database operations? For instance, I want to ensure that certain records, such as Incidents, can never be deleted, even when scripts are involved. While Access Control Lists (ACLs) can be implemented to prevent users from deleting records through the user interface, how do I safeguard against record deletion via scripts?
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2024 04:05 AM
A business rule would allow for the prevention of deletion as you can abort the action. However, this won't protect against a script that calls setWorkflow(false) as it'll bypass the business rule