How can I grant permission 'directoriesManagementAccess' to group diffrent from Administrator and power users?

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”

0 votes

2 answers

103 views

ANSWER



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>
1 votes



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

0 votes