<?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: Customize permissions based on types in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/customize-permissions-based-on-types/m-p/200584#M153714</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Now that was an optical illusion. Even in this setting, everything I allow on the content is allowed on the folder, too…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Apr 2009 07:35:12 GMT</pubDate>
    <dc:creator>burriad</dc:creator>
    <dc:date>2009-04-08T07:35:12Z</dc:date>
    <item>
      <title>Customize permissions based on types</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/customize-permissions-based-on-types/m-p/200581#M153711</link>
      <description>I would like to customize the permissions based on user-defined types. To this end i devised the following space types:my&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;arentfolder: Extends cm:folder, has some additional aspects and shall not be modifiable by "normal" usersmy:subfolder: Extends cm:folder and can be used by "normal" users to str</description>
      <pubDate>Wed, 01 Apr 2009 14:29:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/customize-permissions-based-on-types/m-p/200581#M153711</guid>
      <dc:creator>burriad</dc:creator>
      <dc:date>2009-04-01T14:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Customize permissions based on types</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/customize-permissions-based-on-types/m-p/200582#M153712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think you can try in this two ways.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Create a script that assign the right permissions (contributor, consumer, …) for groups/users to the folder based on the type of folder. After that create a content rule on your root that call this script configuring the conditions on the two types you have created. Look JavaScript API&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Create a custom aspect. Download the sdk and look at the Custom Aspect project. Implementing a java class you have more control but it's more difficult.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope to be helpful&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 07:19:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/customize-permissions-based-on-types/m-p/200582#M153712</guid>
      <dc:creator>andrepra</dc:creator>
      <dc:date>2009-04-03T07:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Customize permissions based on types</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/customize-permissions-based-on-types/m-p/200583#M153713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot for the reply. I hoped this was doable in configuration as well, but it ain't so, even though the following works fine:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;permissionSet type="cm:cmobject" expose="selected"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;permissionGroup name="Dummy" expose="true" &amp;gt;&lt;BR /&gt;&amp;lt;/permissionSet&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;permissionSet type="cm:folder" expose="selected"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;permissionGroup name="Dummy" extends="true" type="cm:cmobject" expose="true" &amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;includePermissionGroup permissionGroup="Read" type="sys:base" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/permissionGroup&amp;gt;&lt;BR /&gt;&amp;lt;/permissionSet&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;permissionSet type="cm:content" expose="selected"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;permissionGroup name="Dummy" extends="true" type="cm:cmobject" expose="true" &amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;includePermissionGroup permissionGroup="Read" type="sys:base" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;includePermissionGroup permissionGroup="Write" type="sys:base" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;includePermissionGroup permissionGroup="Delete" type="sys:base" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/permissionGroup&amp;gt;&lt;BR /&gt;&amp;lt;/permissionSet&amp;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;/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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;That is, I can variate the permissions between spaces and content, using the same role "Dummy"*. Unfortunately, the same trick doesn't work anymore when subclassing the folders as presented in the first post of this thread. This is either stupidity from my side, or a bug in Alfresco. Of course I opt for the latter&amp;nbsp; &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* The code above has the effect that on the folder itself, "Dummy" has only read permissions, on the content however, he has the right to write and delete as well&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2009 15:28:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/customize-permissions-based-on-types/m-p/200583#M153713</guid>
      <dc:creator>burriad</dc:creator>
      <dc:date>2009-04-07T15:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Customize permissions based on types</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/customize-permissions-based-on-types/m-p/200584#M153714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Now that was an optical illusion. Even in this setting, everything I allow on the content is allowed on the folder, too…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2009 07:35:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/customize-permissions-based-on-types/m-p/200584#M153714</guid>
      <dc:creator>burriad</dc:creator>
      <dc:date>2009-04-08T07:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Customize permissions based on types</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/customize-permissions-based-on-types/m-p/200585#M153715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After long hours of trying, I am convinced that this is not possible in configuration. However, I documented a solution that works here: &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/en/viewtopic.php?f=9&amp;amp;t=6180" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/en/viewtopic.php?f=9&amp;amp;t=6180&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 13:02:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/customize-permissions-based-on-types/m-p/200585#M153715</guid>
      <dc:creator>burriad</dc:creator>
      <dc:date>2009-05-05T13:02:43Z</dc:date>
    </item>
  </channel>
</rss>

