<?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 Check for specific permission given a group permission in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/check-for-specific-permission-given-a-group-permission/m-p/84133#M56608</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a hard time understanding one specific part of the security APIs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Situation: For some nodes we set specific users and groups to have specific roles, e.g. Consumer or Coordinator.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In different situations I need to be able to tell which users/groups have&amp;nbsp; a specific right on a given node, e.g "write" access.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can get the permissions through PermissionsService.getAllSetPermissions, which will me return a list like&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; User1: Consumer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Group1: Consumer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Group2: Coordinator&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Question:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I now find out who of those authorities has a "write" permission? In this case it would be the Coordinator only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Different example of the same problem: How can I find out whether or not the "Coordinator" contains the "Consumer" permission?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ps:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;API version: E2.0.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Our application is integrated in Alfresco using Spring, we can therefore access whatever object is available through that context.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jul 2007 12:42:03 GMT</pubDate>
    <dc:creator>mruflin</dc:creator>
    <dc:date>2007-07-31T12:42:03Z</dc:date>
    <item>
      <title>Check for specific permission given a group permission</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/check-for-specific-permission-given-a-group-permission/m-p/84133#M56608</link>
      <description>I have a hard time understanding one specific part of the security APIs.Situation: For some nodes we set specific users and groups to have specific roles, e.g. Consumer or Coordinator.In different situations I need to be able to tell which users/groups have&amp;nbsp; a specific right on a given node, e.g "wr</description>
      <pubDate>Tue, 31 Jul 2007 12:42:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/check-for-specific-permission-given-a-group-permission/m-p/84133#M56608</guid>
      <dc:creator>mruflin</dc:creator>
      <dc:date>2007-07-31T12:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Check for specific permission given a group permission</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/check-for-specific-permission-given-a-group-permission/m-p/84134#M56609</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;See org.alfresco.repo.security.permissions.impl.ModelDAO and getGranteePermissions. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will want the permissionsModelDAO bean.&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, 06 Aug 2007 12:38:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/check-for-specific-permission-given-a-group-permission/m-p/84134#M56609</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2007-08-06T12:38:21Z</dc:date>
    </item>
  </channel>
</rss>

