cancel
Showing results for 
Search instead for 
Did you mean: 

How to override "New permission" notification / alert ?

Mohamed_Belmokh
Star Contributor
Star Contributor

Hi all,

I need to translate and override the notification mail sent when a new permission is given to someone.

I have successfully override "documentPublicationApproved", "documentPublicationRejected", "documentPublished", "documentModified", "documentCreated", and "workflowTaskAssigned" template but I have not found how to override the "New Permission" template.

Furthermore, I wish to uncheck the box when adding a new permission.

Can you help me please ? it's urgent =\

5 REPLIES 5

Yousuf_Nejati
Star Contributor
Star Contributor

Hello Mohamed,

That is great, that you were able to override all of those templates already. If you're looking for the template sent when permissions are changed, you can find that here:

http://explorer.nuxeo.com/nuxeo/site/distribution/cap-8.2/viewExtensionPoint/org.nuxeo.ecm.platform....

nuxeo-permissions-7.10.jar (assuming you're using the latest LTS)

aceGranted.ftl

See attached.

Hope this reaches you in time.

Best,

-Yousuf

Unlike other template configuration there is no notification configuration associated to the template (at least, I cannot find it in 7.10 platform explorer). The subject of the email cannot be customized that way for instance

Mohamed_Belmokh
Star Contributor
Star Contributor

Thank you Yousuf Nejati 🙂

I found this file before leaving work, but it was too late to try this method, I will do it tomorrow.

However, this solution will not persists during updates. I would have to repeat this each time.

Do you think that this jar file will often be updated? and if it's planned to make it possible to customize this notification event ?

Thanks 🙂

Hi Mohamed,

Hello Yousuf Nejati