<?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 Retrieve permissions of an User inside a script in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/retrieve-permissions-of-an-user-inside-a-script/m-p/321486#M8487</link>
    <description>&lt;P&gt;Hi,
Anyone knows how to retrieve the permissions of an user in a document ( inside a script)
I try to use currentUser but it can only get the name, username.. and more properties that doesn't help me.&lt;/P&gt;
&lt;P&gt;Also I try with the operation hasPermission but nuxeo tells me that it ins't a function.
Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 18 Nov 2019 14:35:06 GMT</pubDate>
    <dc:creator>iker_nicolas</dc:creator>
    <dc:date>2019-11-18T14:35:06Z</dc:date>
    <item>
      <title>Retrieve permissions of an User inside a script</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/retrieve-permissions-of-an-user-inside-a-script/m-p/321486#M8487</link>
      <description>&lt;P&gt;Hi,
Anyone knows how to retrieve the permissions of an user in a document ( inside a script)
I try to use currentUser but it can only get the name, username.. and more properties that doesn't help me.&lt;/P&gt;
&lt;P&gt;Also I try with the operation hasPermission but nuxeo tells me that it ins't a function.
Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 14:35:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/retrieve-permissions-of-an-user-inside-a-script/m-p/321486#M8487</guid>
      <dc:creator>iker_nicolas</dc:creator>
      <dc:date>2019-11-18T14:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve permissions of an User inside a script</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/retrieve-permissions-of-an-user-inside-a-script/m-p/321487#M8488</link>
      <description>&lt;P&gt;Solved, finally works with the operation Context.GetUserGroupIdsWithPremissionOnDoc&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 08:21:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/retrieve-permissions-of-an-user-inside-a-script/m-p/321487#M8488</guid>
      <dc:creator>iker_nicolas</dc:creator>
      <dc:date>2019-11-19T08:21:47Z</dc:date>
    </item>
  </channel>
</rss>

