Is permission configuration for directories ignored?

Hi,

I want to allow a group of users that are not administrators or power users to edit entries of certain directories/vocabularies. So, documentation says that it is possible to define Read/Write permissions to users/groups in the directory definition: https://doc.nuxeo.com/nxdoc/1010/data-lists-and-directories/

I've defined those permissions for a directory, and when I try to delete an entry via directory endpoint (DELETE http://localhost:8080/nuxeo/api/v1/directory/technology/5 ), I see that the user is not allowed to do so.

I've checked the source code, and I see that when deleting a directory entry, it checks DirectoryObject.java method checkEditGuards(). This method ignores my permissions preferences and only allows deleting to admins and power users.

Am I doing something wrong or is this an error? How can I edit directory entries without being admin/power user?

Thanks a lot,

0 votes

0 answers

103 views

ANSWER