12-17-2014 05:20 AM
Hi
----- New additional remark at the bottom of the page... ----
My local group : g_toto
My ldap user : titi
My local powerusers user : puadmin
My ldap administrator user : ldamin
I tried to add the Titi user in the G_toto group and it works with Nuxeo/nxadmin > Admin Center > Users and Groups.
If I create the group with cUrl and I directly adds the user, it also works :
But this seems not to work with Curl to add a new user.
I tried multiple combinations :
curl -X POST 'http://mysite/nuxeo/api/v1/user/titi/group/g_toto' -u puadmin:pupwd -H 'Content-Type: application/json'
=> not authorized (powerusers)
curl -X POST 'http://mysite/nuxeo/api/v1/group/g_toto/user/titi' -u puadmin:pupwd -H 'Content-Type: application/json'
=> not authorized (powerusers)
curl -X POST 'http://mysite/nuxeo/api/v1/user/titi/group/g_toto' -u ldadmin:ldpwd -H 'Content-Type: application/json'
=> no error, but titi is not in "g_toto" (administrator)
curl -X POST 'http://mysite/nuxeo/api/v1/group/g_toto/user/titi' -u ldadmin:ldpwd -H 'Content-Type: application/json'
=> no error, but titi is not in "g_toto" (administrator)
Do you have an idea ?
I used the API Playground samples...
Additional remark :
I create the group "g_tata" with cURL an with the Web interface, i add this group with reading's right at the folder "MyFolder" :
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.