<?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: How to set permission to site's role with webscript? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-set-permission-to-site-s-role-with-webscript/m-p/24048#M10463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain more about the issue? You can always check the permission by node.getPermissions method , and set by using node.setPermission(permission,authority) .&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or may be you are doing something similar as mentioned in this thread -&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="177342" __jive_macro_name="thread" _jive_internal="true" class="jive_macro_thread jive_macro link-titled" href="https://community.alfresco.com/thread/177342-setting-up-permissions-for-nodes-in-sites" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Mar 2017 15:07:44 GMT</pubDate>
    <dc:creator>mbajpai</dc:creator>
    <dc:date>2017-03-21T15:07:44Z</dc:date>
    <item>
      <title>How to set permission to site's role with webscript?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-set-permission-to-site-s-role-with-webscript/m-p/24047#M10462</link>
      <description>Hi,How to set a document/node permission to site's role (siteCollaborator, siteContributor, siteConsumer) with webscript?Is it possible with setPermission syntax? [1]Thank you,[bayu]</description>
      <pubDate>Tue, 21 Mar 2017 10:10:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-set-permission-to-site-s-role-with-webscript/m-p/24047#M10462</guid>
      <dc:creator>billydekid</dc:creator>
      <dc:date>2017-03-21T10:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to set permission to site's role with webscript?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-set-permission-to-site-s-role-with-webscript/m-p/24048#M10463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain more about the issue? You can always check the permission by node.getPermissions method , and set by using node.setPermission(permission,authority) .&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or may be you are doing something similar as mentioned in this thread -&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="177342" __jive_macro_name="thread" _jive_internal="true" class="jive_macro_thread jive_macro link-titled" href="https://community.alfresco.com/thread/177342-setting-up-permissions-for-nodes-in-sites" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 15:07:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-set-permission-to-site-s-role-with-webscript/m-p/24048#M10463</guid>
      <dc:creator>mbajpai</dc:creator>
      <dc:date>2017-03-21T15:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to set permission to site's role with webscript?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-set-permission-to-site-s-role-with-webscript/m-p/24049#M10464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;B&gt;Mansha Pandey&lt;/B&gt;‌,&lt;/P&gt;&lt;P&gt;Apologize forgot to put the [1] link reference: &lt;A class="link-titled" href="http://docs.alfresco.com/5.2/references/API-JS-setPermission.html" title="http://docs.alfresco.com/5.2/references/API-JS-setPermission.html" rel="nofollow noopener noreferrer"&gt;setPermission | Alfresco Documentation&lt;/A&gt; - and thanks for the thread link.&lt;/P&gt;&lt;P&gt;Yes, I want do the similar like in that thread, such as: &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;setPermission("SiteCollaborator","GROUP_Office");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But in the &lt;SPAN style="font-family: terminal,monaco,monospace;"&gt;setPermission()&lt;/SPAN&gt; documentation above mention the permission parameter are "read-write-delete" only, instead a site's role I supposed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So, to clarify.. I'ts possible to put site's role in 'permission' parameter of setPermission function. CMIIW.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you.-&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 00:30:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-set-permission-to-site-s-role-with-webscript/m-p/24049#M10464</guid>
      <dc:creator>billydekid</dc:creator>
      <dc:date>2017-03-22T00:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to set permission to site's role with webscript?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-set-permission-to-site-s-role-with-webscript/m-p/24050#M10465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SiteCollabotor is a Role .&amp;nbsp;Each Role has a set of permissions.The method setPermission takes permission as an argument.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 16:27:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-set-permission-to-site-s-role-with-webscript/m-p/24050#M10465</guid>
      <dc:creator>mbajpai</dc:creator>
      <dc:date>2017-03-22T16:27:19Z</dc:date>
    </item>
  </channel>
</rss>

