<?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 Show an action according to the custom role in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/show-an-action-according-to-the-custom-role/m-p/237629#M190759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have defined my own custom roles to link each user group to the corresponding authorization.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a group that is only able to navigate and see content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is another group that is only able to navigate and see content, and able to execute a custom action (my print action).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I have created my custom roles as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&amp;lt;permissionSet type="cm:cmobject" expose="selected"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;permissionGroup name="MyCustomRoleOnlyRead" allowFullControl="false" expose="true" &amp;gt;&lt;BR /&gt;&amp;nbsp;&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;lt;/permissionGroup&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;permissionGroup name="MyCustomRoleOnlyReadAndPrint" allowFullControl="false" expose="true" &amp;gt;&lt;BR /&gt;&amp;nbsp;&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;lt;/permissionGroup&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/permissionSet&amp;gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I have added them to type="cm:content" and type="cm:folder" as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&amp;lt;permissionSet type="cm:content" expose="selected"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;permissionGroup name="MyCustomRoleOnlyRead" extends="true" expose="true"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;permissionGroup name="MyCustomRoleOnlyReadAndPrint" extends="true" expose="true"/&amp;gt;&lt;BR /&gt;&amp;lt;/permissionSet&amp;gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;And then I assign the custom roles to the action:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&amp;lt;action id="myAction"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;permissions&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;permission allow="false"&amp;gt;MyCustomRoleOnlyRead&amp;lt;/permission&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;permission allow="true"&amp;gt;MyCustomRoleOnlyReadAndPrint&amp;lt;/permission&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/permissions&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;label-id&amp;gt;printDoc&amp;lt;/label-id&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;image&amp;gt;/sos/images/icons/icon.gif&amp;lt;/image&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;href&amp;gt;/wcs/sos/myscript?node=#{actionContext.nodeRef}&amp;lt;/href&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/action&amp;gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, I assign to the user one role and later the other, and the result is the same. The action is not available for none of them!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How the action has to be defined for this purpose?? I haven't found information about adding two or more permissions to the action node! Are they correctly added?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sergi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jun 2009 17:53:32 GMT</pubDate>
    <dc:creator>sergi_l</dc:creator>
    <dc:date>2009-06-16T17:53:32Z</dc:date>
    <item>
      <title>Show an action according to the custom role</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/show-an-action-according-to-the-custom-role/m-p/237629#M190759</link>
      <description>Hi all!I have defined my own custom roles to link each user group to the corresponding authorization.There is a group that is only able to navigate and see content.There is another group that is only able to navigate and see content, and able to execute a custom action (my print action).So I have cr</description>
      <pubDate>Tue, 16 Jun 2009 17:53:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/show-an-action-according-to-the-custom-role/m-p/237629#M190759</guid>
      <dc:creator>sergi_l</dc:creator>
      <dc:date>2009-06-16T17:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Show an action according to the custom role</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/show-an-action-according-to-the-custom-role/m-p/237630#M190760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please, help!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think it could be related with the extend property. I mean, if the action would be available for "Contributor", a "Consumer" user wouldn't see it. But it'd be available for a "Collaborator" role according to the role hierarchy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My roles contain the same permissions, I just want to allow the user to execute an action or not according to the role's user. This action is the unique difference between both.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I solve this issue??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 15:27:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/show-an-action-according-to-the-custom-role/m-p/237630#M190760</guid>
      <dc:creator>sergi_l</dc:creator>
      <dc:date>2009-06-17T15:27:34Z</dc:date>
    </item>
  </channel>
</rss>

