403 while PUTTING on /user/{id}
I am sending this request to perform an update on the newly created (using the registration method provided by this package) and currently logged-in user:
curl 'http://localhost:8000/users/17/' -X PUT -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Referer: http://localhost:9000/account-creation/mentor-new-account' -H 'Content-Type: application/ld+json' -H 'If-Match: undefined' -H 'Origin: http://localhost:9000' -H 'Connection: keep-alive' -H 'Cookie: csrftoken=xJ8Zj87udNdE6j1VYtugXgwzkonDGeITPNJl6QWHyfOePX2uxwS42VhrzqEG2ikM; sessionid=xdqgfqqq5sio3f5h1mq936f1hdqmk069' -H 'Pragma: no-cache' -H 'Cache-Control: no-cache' --data $'[{"@id":"_:b613","http://happy-dev.fr/owl/#picture":""},{"@id":"_:b614","http://happy-dev.fr/owl/#biography":"JDZpozj poajd paozd ,azpod ,azpod ,a","http://happy-dev.fr/owl/#city":"City","http://happy-dev.fr/owl/#country":"FR","http://happy-dev.fr/owl/#headline":"Lead developer and bisounours","http://happy-dev.fr/owl/#language":{"@id":"http://localhost:8000/languages/1/"},"http://happy-dev.fr/owl/#linkedin":"linkedin.com","http://happy-dev.fr/owl/#phone":2039093293,"http://happy-dev.fr/owl/#skills":" pza,dpaz,d azpod, azpo,d azpod ,azpd ,azpod ,azd p\u1e91a, da\u1e91o,","http://happy-dev.fr/owl/#twitter":"twiiter.com"},{"@id":"http://localhost:8000/users/17/","http://happy-dev.fr/owl/#account":{"@id":"_:b613"},"http://happy-dev.fr/owl/#first_name":"TOTOTOOTOTOTOTOT","http://happy-dev.fr/owl/#header_about_you":"","http://happy-dev.fr/owl/#header_social_media":"","http://happy-dev.fr/owl/#last_name":"Breshko","http://happy-dev.fr/owl/#mentor_profile":{"@id":"_:b614"}}]'
All I got from now is a 403
{"detail":"You do not have permission to perform this action.","@context":"https://cdn.happy-dev.fr/owl/hdcontext.jsonld"}
It looked to @bleme that we were creating users having no applied rights. Any thoughts on this @jbpasquier ?