Prevent users from deleting mail
Paul Timms
1-23-19
I'm looking for a way to prevent users from deleting mail, due to a bug in 8.4 which causes GDPR issues. I've looked in HAL source but since mail can only be deleted from the browse window and not the inspect window, the standard RecordRemoveTest does not apply and I cannot find any function which runs when deleting from the browse window.


Does anyone know how to do this please?
David Delač
1-30-19
Hello Paul,

Thank you for your enquiry. I will look into it and come back with a possible solution if there is one. Thank you for your patience.

Best regards,
David D.
HansaWorld Support
David Delač
2-5-19
Hello Paul,

Sorry for delayed response. One way you could prevent users from deleting email is to block deleting of records in Access Groups setting. If this is not an option for you please let me know.

Best regards,

David D.
HansaWorld Support
Paul Timms
2-5-19
Hi David

Yes that's an option, although not a particularly good one as it then prevents deletion of any type of record. Is there no way to code HAL to prevent deletion of email records?
David Delač
2-5-19
Hello Paul,

This is not possible with HAL as deleting records from browse window is coded directly in the engine.

Best regards,
David D.
HansaWorld Support
Paul Timms
2-7-19
Thanks David, that's what I thought. I'll tell the customer to manage it in another way.
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
Piotr Wycichowski
Is it somehow possible to support such kind of address row in external email outgoing from SERP? Sometimes we want to redirect the reply from recipient for particular e-mail address different from se...
11:10 12 Jun 2026
Andis Blicāns, Grasko
Hello! How this "HAL Code Quality Control with AI" can be set up/used in Hansa?...
17:10 8 Jun 2026