<?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 Change space permission with the JavaScript API in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/change-space-permission-with-the-javascript-api/m-p/34320#M17960</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Alfresco,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some weeks ago I requested to expose the permission settings in Freemarker: &lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/jira/browse/AWC-648" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/jira/browse/AWC-648&lt;/A&gt;&lt;SPAN&gt;. Kevin resolved this issue and this will be available in the 1.3 Enterprise release. Nice, great, perfect, thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I would like to request the same feature for the JavaScript API. As far as I can see (and I may be overlooking some things here so correct me if I'm wrong) it's not possible to remove or add users and groups as space users with the JavaScript API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to add groups dynamically, depending on their parent folder:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;* company1&lt;BR /&gt;&lt;UL&gt;- subfolderA&lt;/UL&gt;&lt;/UL&gt;&lt;SPAN&gt;Here for example I would like to add company1-grp (some group I defined with all the employees of this company) with a consumer role.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Secondly I would like to trigger this script when a new space (subfolderA in this case) is created, is this possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This would allow me to make some templates and let the coordinator of this customer space create subfolders on the fly. He would then select the template "meeting minutes" and all the read and write permissions of this template could be set correctly by the script. Some general permissions will be set in the template but the customer specific permissions need to be added at creation time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jun 2006 11:57:13 GMT</pubDate>
    <dc:creator>simon</dc:creator>
    <dc:date>2006-06-15T11:57:13Z</dc:date>
    <item>
      <title>Change space permission with the JavaScript API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/change-space-permission-with-the-javascript-api/m-p/34320#M17960</link>
      <description>Hi Alfresco,Some weeks ago I requested to expose the permission settings in Freemarker: http://www.alfresco.org/jira/browse/AWC-648. Kevin resolved this issue and this will be available in the 1.3 Enterprise release. Nice, great, perfect, thanks!Now I would like to request the same feature for the J</description>
      <pubDate>Thu, 15 Jun 2006 11:57:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/change-space-permission-with-the-javascript-api/m-p/34320#M17960</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2006-06-15T11:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Change space permission with the JavaScript API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/change-space-permission-with-the-javascript-api/m-p/34321#M17961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No reactions regarding this idea?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2006 12:24:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/change-space-permission-with-the-javascript-api/m-p/34321#M17961</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2006-07-05T12:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Change space permission with the JavaScript API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/change-space-permission-with-the-javascript-api/m-p/34322#M17962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There will be several additions to the JavaScript API for 1.4 - please add any suggestions you have to a task in JIRA. The ability to set() permissions will definitely be added.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2006 16:48:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/change-space-permission-with-the-javascript-api/m-p/34322#M17962</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2006-07-05T16:48:26Z</dc:date>
    </item>
  </channel>
</rss>

