<?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: extending PermissionService in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/extending-permissionservice/m-p/21342#M10079</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The API is not extended in the current release. Lucene does not expose anything that would help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently, the only way this can be done is in Java code using AuthenticationUtil RunAs support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jan 2008 15:38:45 GMT</pubDate>
    <dc:creator>andy</dc:creator>
    <dc:date>2008-01-08T15:38:45Z</dc:date>
    <item>
      <title>extending PermissionService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-permissionservice/m-p/21337#M10074</link>
      <description>Hello,I was wondering if there is an way to check for permissions without explicitly setting current user with AuthenticationComponent.setCurrentUser(). I am looking for an API which would resemble to:&amp;nbsp;&amp;nbsp; hasPermission(NodeRef nodeRef, String authority, String permission);&amp;nbsp;&amp;nbsp; getPermissions(NodeRef no</description>
      <pubDate>Sat, 06 May 2006 20:18:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-permissionservice/m-p/21337#M10074</guid>
      <dc:creator>andrew_ser</dc:creator>
      <dc:date>2006-05-06T20:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: extending PermissionService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-permissionservice/m-p/21338#M10075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are not missing something.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is not yet exposed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is on the list of things to do as a few people have asked for it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 07:23:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-permissionservice/m-p/21338#M10075</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2006-05-08T07:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: extending PermissionService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-permissionservice/m-p/21339#M10076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;It is on the list of things to do as a few people have asked for it.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Would you be interested if this part is contributed ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 23:03:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-permissionservice/m-p/21339#M10076</guid>
      <dc:creator>andrew_ser</dc:creator>
      <dc:date>2006-05-08T23:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: extending PermissionService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-permissionservice/m-p/21340#M10077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know this thread is a bit old now, but did anything like the modified permissions test method:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;hasPermission(NodeRef nodeRef, String authority, String permission);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;make it into one of the current releases?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to check to see if a particular user has a specific role/permission on list of spaces. The user in question is unfortunately NOT the user running the script containing this code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can do it using the getPermissions() method on each space and parsing the resulting permission strings, BUT it seems extremely inefficient&amp;nbsp; :?&amp;nbsp; Seems like an extension of this type to the people root object in the Javascript API, plus a few other permissions related methods would be very popular.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alternatively am I missing something on the Lucene search side of things that would allow role / permissions based content searches?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 14:55:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-permissionservice/m-p/21340#M10077</guid>
      <dc:creator>chrisb</dc:creator>
      <dc:date>2007-12-03T14:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: extending PermissionService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-permissionservice/m-p/21341#M10078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Me, too, I need exactly this feature: hasPermission(NodeRef nodeRef, String authority, String permission);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Would you be interested if this part is contributed ?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrew_ser, does this mean you have an implementation? Would you share it with us?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2007 11:54:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-permissionservice/m-p/21341#M10078</guid>
      <dc:creator>hbf</dc:creator>
      <dc:date>2007-12-07T11:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: extending PermissionService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-permissionservice/m-p/21342#M10079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The API is not extended in the current release. Lucene does not expose anything that would help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently, the only way this can be done is in Java code using AuthenticationUtil RunAs support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 15:38:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-permissionservice/m-p/21342#M10079</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2008-01-08T15:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: extending PermissionService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-permissionservice/m-p/21343#M10080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The API is not extended in the current release. Lucene does not expose anything that would help.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Any news on this regarding 2.9b/3.0?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kaspar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Aug 2008 16:12:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-permissionservice/m-p/21343#M10080</guid>
      <dc:creator>hbf</dc:creator>
      <dc:date>2008-08-10T16:12:13Z</dc:date>
    </item>
  </channel>
</rss>

