Can compact button be exposed without giving the user rights to delete their mailfile?

Is there a way to expose the “compact” button to the end user on the client without allowing them to delete their entire database? It seems that the permissions needed to perform a client-side compact also include the delete option.

Thanks for any help.

Subject: Compact via agent?

You could add an agent that runs the compact (set to run with credentials that do have access),and then trigger the agent from the client with an action button or another agent.