09-18-2018 01:46 AM
Hello,
It seems that only the users who belong to the group Administrator can update user profiles. But I would like to allow the authentified user to be able to update his own profile. How could I do that ?
I tried with the PUT request : curl -X PUT -H "Content-Type: application/json" -u userid:password -d "{ "entity-type": "user", "id":"userId", "properties":{"firstName":"John"}}" http://localhost:8080/nuxeo/api/v1/user/userid
and I'm getting a 403 forbidden error : {"entity-type":"exception","status":403,"message":"User is not allowed to edit users"}
Is there another endpoint to do that ?
Thanks in advance
10-02-2018 12:49 PM
Hi Nicolas,
To achieve your need, your user must be a member of powerusers group. The inconvenient with this approach is your user can edit all informations of any other user !!
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.