<?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: Permissions Folder in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/permissions-folder/m-p/24796#M10761</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;excuse was a mistake&lt;BR /&gt;nomefinestra&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;.setPermission("Coordinator","GROUP_Manager Ufficio Personale");&lt;/SPAN&gt;&lt;BR /&gt;the folder is located within the Repository&lt;BR /&gt;It is not in the site&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Mar 2017 14:36:20 GMT</pubDate>
    <dc:creator>natmacri</dc:creator>
    <dc:date>2017-03-23T14:36:20Z</dc:date>
    <item>
      <title>Permissions Folder</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/permissions-folder/m-p/24794#M10759</link>
      <description>Hi,I have created a script for the creation of a folder, in order to insert a document:var nomefinestra = space.childByNamePath(document.properties["ALTRO:nomefinestra"]);if (nomefinestra== null){nomefinestra = space.createFolder(document.properties["ALTRO:nomefinestra"]);utente.setPermission("Coord</description>
      <pubDate>Wed, 22 Mar 2017 10:31:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/permissions-folder/m-p/24794#M10759</guid>
      <dc:creator>natmacri</dc:creator>
      <dc:date>2017-03-22T10:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Permissions Folder</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/permissions-folder/m-p/24795#M10760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is that folder inside a Share site?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that is the case, you could try to set permissions using the site's roles groups, like collaborator or contributor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: I have just noticed that you have a variable that I could not find what it is referring, that is&amp;nbsp;&lt;STRONG style="background-color: #ffffff; color: #727174;"&gt;utente&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Are you sure you are setting the permission in the right object?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 14:17:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/permissions-folder/m-p/24795#M10760</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2017-03-23T14:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Permissions Folder</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/permissions-folder/m-p/24796#M10761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;excuse was a mistake&lt;BR /&gt;nomefinestra&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;.setPermission("Coordinator","GROUP_Manager Ufficio Personale");&lt;/SPAN&gt;&lt;BR /&gt;the folder is located within the Repository&lt;BR /&gt;It is not in the site&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 14:36:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/permissions-folder/m-p/24796#M10761</guid>
      <dc:creator>natmacri</dc:creator>
      <dc:date>2017-03-23T14:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Permissions Folder</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/permissions-folder/m-p/24797#M10762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is your script triggered by a rule? - seems so, because you use the objects document and space, which are root-scope objects and are injected in the script as global values.&lt;/P&gt;&lt;P&gt;Try shorten your script, only create the folder and set the permission.&lt;/P&gt;&lt;P&gt;Check the resulting folder, are the permissions applied as you expect?&lt;/P&gt;&lt;P&gt;Is "space" really the place where you want the folder to be created (I often use document.parent when referring the directory the document is placed in)?&lt;/P&gt;&lt;P&gt;Try a few debug messages to catalina.out with logger.system.out &amp;nbsp; &amp;nbsp;Are all variables valued as expected?&lt;/P&gt;&lt;P&gt;Are you using the javascript console?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 07:04:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/permissions-folder/m-p/24797#M10762</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2017-03-24T07:04:40Z</dc:date>
    </item>
  </channel>
</rss>

