Controlling delete capability in a database

I have a database in which deletes are not allowed. I have added a Role to allow deletes. The Database script prevents deletes unles there exists an entry with DeleteDoc Role.

Now I want to run a Purge functionality. How do I authorized the agent to do deletes from this same database?

Subject: Controlling delete capability in a database

the agent will bypass the database script

Subject: Controlling delete capability in a database

If your ID has the delete role, then sign the agent with your ID and it will be allowed to perform the deletions.