<?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: Don't hand over global rights to folders in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/don-t-hand-over-global-rights-to-folders/m-p/294858#M247988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;yeah, the German forum is very quiet - I was trying to be active for a while (way back in 2012/2013), but after a while without any questions / discussions, I simply forgot to go back there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, "Create from template" only copies the structures and does nothing with permissions, so the default behaviour triggeres (no local rights and inheritance from parent).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will have to work with some JavaScript scripting to get this to work the way you want. One option would be to set up a rule on the Sites folder that applies to all sub-folders and triggers on the creation of a new folder. You can put a script into the Data Dictionary/Scripts folder that can be triggered from the rule. This script would then have to check the folder to see if it has been created from a template (that information is not transported otherwise) and then apply the custom permissions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All of this - so far - can be done without Java programming or server restarts. The only "programming" required is related to JavaScript and usage of the Alfresco Script API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Feb 2015 10:25:48 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2015-02-17T10:25:48Z</dc:date>
    <item>
      <title>Don't hand over global rights to folders</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/don-t-hand-over-global-rights-to-folders/m-p/294857#M247987</link>
      <description>Hi!Seems to me, the german forum is a bit quiet, so i'll try to find an answer here ;-)I set up an folder struckture that fit's to our company, set up rights and made a template by copying that to the repository folder.We do sync our users and groups from Active Directory.Setting up rights in that t</description>
      <pubDate>Tue, 17 Feb 2015 08:26:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/don-t-hand-over-global-rights-to-folders/m-p/294857#M247987</guid>
      <dc:creator>mb1811</dc:creator>
      <dc:date>2015-02-17T08:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Don't hand over global rights to folders</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/don-t-hand-over-global-rights-to-folders/m-p/294858#M247988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;yeah, the German forum is very quiet - I was trying to be active for a while (way back in 2012/2013), but after a while without any questions / discussions, I simply forgot to go back there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, "Create from template" only copies the structures and does nothing with permissions, so the default behaviour triggeres (no local rights and inheritance from parent).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will have to work with some JavaScript scripting to get this to work the way you want. One option would be to set up a rule on the Sites folder that applies to all sub-folders and triggers on the creation of a new folder. You can put a script into the Data Dictionary/Scripts folder that can be triggered from the rule. This script would then have to check the folder to see if it has been created from a template (that information is not transported otherwise) and then apply the custom permissions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All of this - so far - can be done without Java programming or server restarts. The only "programming" required is related to JavaScript and usage of the Alfresco Script API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 10:25:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/don-t-hand-over-global-rights-to-folders/m-p/294858#M247988</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2015-02-17T10:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Don't hand over global rights to folders</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/don-t-hand-over-global-rights-to-folders/m-p/294859#M247989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for reply!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It does actually pick up the rights that have been set in the template. When I uncheck the "hand over" checkbox I can see all local rights I set up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to uncheck that box by JavaScript?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any summary / tutorial about what is possible with JavaScript in Alfresco?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 11:01:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/don-t-hand-over-global-rights-to-folders/m-p/294859#M247989</guid>
      <dc:creator>mb1811</dc:creator>
      <dc:date>2015-02-17T11:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Don't hand over global rights to folders</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/don-t-hand-over-global-rights-to-folders/m-p/294860#M247990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;yes, it is possible to uncheck that box via JavaScript. The API is documented &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/community/references/API-JS-Scripting-API.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/community/references/API-JS-Scripting-API.html&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;here&amp;lt;/a&amp;gt;. You are looking for the ScriptNode API concerning permissions and the setInheritsPermissions operation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 09:51:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/don-t-hand-over-global-rights-to-folders/m-p/294860#M247990</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2015-02-19T09:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Don't hand over global rights to folders</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/don-t-hand-over-global-rights-to-folders/m-p/294861#M247991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would you please be so kind to put a simple step-by-step plan how did you do this? I mean how did you manage to create such a template and then setup the permissions to be specific by this template. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I consider myself new with Alfresco, so I'll need more how-tos in order to learn &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All the BEST!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 15:18:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/don-t-hand-over-global-rights-to-folders/m-p/294861#M247991</guid>
      <dc:creator>borisstankov</dc:creator>
      <dc:date>2015-02-27T15:18:39Z</dc:date>
    </item>
  </channel>
</rss>

