As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
I need to set custom permissions for the roles but how ?
Have you read the documentation? It contains a section about how permissions are structured and custom permissions can be defined.