<?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: disable permission inheritance in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/disable-permission-inheritance/m-p/280493#M233623</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Currently there is no way to break inheritance using the CMIS API. You must use another approach, such as writing a custom web script that leverages the JavaScript or Java foundation API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2013 01:33:45 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2013-02-21T01:33:45Z</dc:date>
    <item>
      <title>disable permission inheritance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disable-permission-inheritance/m-p/280490#M233620</link>
      <description>There are some topic about this issue. Currently, I am using Alfresco 4.2 community version.So far I didn't find any API which can disable the permission inheritance. Typically, the root folder has the (GROUP_EVERYONE, consumer) permission, which I don't want its sub-folders to inherit. I can manual</description>
      <pubDate>Wed, 20 Feb 2013 03:51:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disable-permission-inheritance/m-p/280490#M233620</guid>
      <dc:creator>nick_l</dc:creator>
      <dc:date>2013-02-20T03:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: disable permission inheritance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disable-permission-inheritance/m-p/280491#M233621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How do you mean you haven't found any API supporting this? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can do this with JS or with Java, you shouldn't have any problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/4.0_JavaScript_API#Permission_and_Security_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/4.0_JavaScript_API#Permission_and_Security_API&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 10:06:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disable-permission-inheritance/m-p/280491#M233621</guid>
      <dc:creator>lista</dc:creator>
      <dc:date>2013-02-20T10:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: disable permission inheritance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disable-permission-inheritance/m-p/280492#M233622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using the web service api only. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 00:24:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disable-permission-inheritance/m-p/280492#M233622</guid>
      <dc:creator>nick_l</dc:creator>
      <dc:date>2013-02-21T00:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: disable permission inheritance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disable-permission-inheritance/m-p/280493#M233623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Currently there is no way to break inheritance using the CMIS API. You must use another approach, such as writing a custom web script that leverages the JavaScript or Java foundation API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 01:33:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disable-permission-inheritance/m-p/280493#M233623</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2013-02-21T01:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: disable permission inheritance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disable-permission-inheritance/m-p/280494#M233624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found that in java code, accessControlService.setInheritPermission(predicate, boolean) can break the inheritance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But it looks like being supported by Alfresco&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 03:41:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disable-permission-inheritance/m-p/280494#M233624</guid>
      <dc:creator>nick_l</dc:creator>
      <dc:date>2013-02-21T03:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: disable permission inheritance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disable-permission-inheritance/m-p/280495#M233625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Nick,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I used the below code to break the inherit permission for the tag nodes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In your case, first identify the node, then stop the permission inheritance by setting , node.setInheritsPermissions(false);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt; var results = search.xpathSearch("/cm:taggable/cm:mytag");&lt;BR /&gt;&lt;BR /&gt; for(var i=0;i&amp;lt;results.length;i++)&lt;BR /&gt; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;var node&amp;nbsp; = results&lt;EM&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;node.setInheritsPermissions(false);&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;node.removePermission("Collaborator","GROUP_EVERYONE");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;node.setPermission("Collaborator", "GROUP_MyCustomGroup");&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;node.save();&lt;BR /&gt; }&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 04:36:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disable-permission-inheritance/m-p/280495#M233625</guid>
      <dc:creator>muralidharand</dc:creator>
      <dc:date>2013-02-21T04:36:03Z</dc:date>
    </item>
  </channel>
</rss>

