<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Nuxeo api - How a user can update his own profile ? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-api-how-a-user-can-update-his-own-profile/m-p/316384#M3385</link>
    <description>&lt;P&gt;Hi Nicolas,&lt;/P&gt;
&lt;P&gt;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 !!&lt;/P&gt;</description>
    <pubDate>Tue, 02 Oct 2018 16:49:02 GMT</pubDate>
    <dc:creator>mejihad_</dc:creator>
    <dc:date>2018-10-02T16:49:02Z</dc:date>
    <item>
      <title>Nuxeo api - How a user can update his own profile ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-api-how-a-user-can-update-his-own-profile/m-p/316383#M3384</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;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 ?&lt;/P&gt;
&lt;P&gt;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"}}"  &lt;A href="http://localhost:8080/nuxeo/api/v1/user/userid" target="test_blank"&gt;http://localhost:8080/nuxeo/api/v1/user/userid&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and I'm getting a 403 forbidden error :
{"entity-type":"exception","status":403,"message":"User is not allowed to edit users"}&lt;/P&gt;
&lt;P&gt;Is there another endpoint to do that ?&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 05:46:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-api-how-a-user-can-update-his-own-profile/m-p/316383#M3384</guid>
      <dc:creator>Nicolas_Hoppeno</dc:creator>
      <dc:date>2018-09-18T05:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo api - How a user can update his own profile ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-api-how-a-user-can-update-his-own-profile/m-p/316384#M3385</link>
      <description>&lt;P&gt;Hi Nicolas,&lt;/P&gt;
&lt;P&gt;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 !!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Oct 2018 16:49:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-api-how-a-user-can-update-his-own-profile/m-p/316384#M3385</guid>
      <dc:creator>mejihad_</dc:creator>
      <dc:date>2018-10-02T16:49:02Z</dc:date>
    </item>
  </channel>
</rss>

