How to change "error" message on the user interface ?
Here is my problem: some of my users don't have access to a certain docType (for example Contract) but he has access on other docTypes which contains document suggestion field which referes to said docType (Contract on which he has no access). So when he sees this field, what he sees is a message saying “This document does not exist or isn't viewable. (4565565-478788-4555454-445)” (numbers beeing the doc's UID), how can I change this message so it's a little bit more user friendly ?
Thanks for your answers
You can change this in messages.properties at nuxeo-platform-lang-ext in the corresponding label of this message. You can find it in github https://github.com/nuxeo/nuxeo-platform-lang-ext/blob/7.10/src/main/resources/crowdin/messages.properties.