08-26-2021 07:03 AM
Hello, How can I grant permission 'directoriesManagementAccess' to group diffrent from Administrator and power users? In fact I want to add new entries to a vocabulary using Directoy.CreateVocabulryEntry operation but I got this message on server.log "Failed to invoke operation: Directory.CreateVocabularyEntry, Failed to invoke operation Directory.CreateVocabularyEntry, User user does not have Write permission"
08-27-2021 09:57 AM
You can also try adding permission on directory declaration as follows:
<extension target="org.nuxeo.ecm.directory.GenericDirectory" point="directories">
<directory name="MyVocab" extends="template-vocabulary">
....
<permissions>
<permission name="Write">
<group>Everyone</group> <!-- you can set your specific group(s) -->
</permission>
</permissions>
.....
</directory>
08-27-2021 09:18 AM
I believe you can't OOTB and you would have to create a custom automation chain with the Auth.LoginAs
operation with a user with enough priviledges
08-27-2021 09:57 AM
You can also try adding permission on directory declaration as follows:
<extension target="org.nuxeo.ecm.directory.GenericDirectory" point="directories">
<directory name="MyVocab" extends="template-vocabulary">
....
<permissions>
<permission name="Write">
<group>Everyone</group> <!-- you can set your specific group(s) -->
</permission>
</permissions>
.....
</directory>
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.