Hello,
I created a behaviour that executes some logic to check if the user is privileged to move/delete/update a node ( BeforeDeleteNodePolicy, OnUpdatePropertiesPolicy, BeforeCheckOut).
If the user is not privileged, it throws AlfrescoRuntimeException and then the whole action is canceled. The problem is about the logs which show the stack trace of every AlfrescoRuntimeException thrown in that blockade.
Is there a way not to log those exceptions from the blockade? Or is there another way to cancel a user's action?
The blockade is based on the type and aspects of the node so it can not be done using permissions.