<?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 Evaluator based on user roles in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/evaluator-based-on-user-roles/m-p/44845#M18171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im trying to create an evaluator that hides a button if the user is either a consumer or contributor, how would i go about creating that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Nov 2018 10:41:26 GMT</pubDate>
    <dc:creator>malikaasen</dc:creator>
    <dc:date>2018-11-28T10:41:26Z</dc:date>
    <item>
      <title>Evaluator based on user roles</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/evaluator-based-on-user-roles/m-p/44845#M18171</link>
      <description>Im trying to create an evaluator that hides a button if the user is either a consumer or contributor, how would i go about creating that?</description>
      <pubDate>Wed, 28 Nov 2018 10:41:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/evaluator-based-on-user-roles/m-p/44845#M18171</guid>
      <dc:creator>malikaasen</dc:creator>
      <dc:date>2018-11-28T10:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluator based on user roles</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/evaluator-based-on-user-roles/m-p/44846#M18172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Evaluators are used generally inside the custom action and indicators, if you are planning to use that inside custom action than you can use the permission attribute , using that only users who ave write access on document will be able to see the action..Below is one example of existing action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- Edit properties pop-up --&amp;gt;&lt;BR /&gt; &amp;lt;action id="document-edit-properties" type="javascript" label="actions.document.edit-metadata"&amp;gt;&lt;BR /&gt; &amp;lt;param name="function"&amp;gt;onActionDetails&amp;lt;/param&amp;gt;&lt;BR /&gt; &lt;STRONG&gt;&amp;lt;permissions&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; &amp;lt;permission allow="true"&amp;gt;Write&amp;lt;/permission&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; &amp;lt;/permissions&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt; &amp;lt;evaluator negate="true"&amp;gt;evaluator.doclib.metadata.isLocked&amp;lt;/evaluator&amp;gt;&lt;BR /&gt; &amp;lt;evaluator negate="true"&amp;gt;evaluator.doclib.action.checkedOutAspect&amp;lt;/evaluator&amp;gt;&lt;BR /&gt; &amp;lt;/action&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2018 11:02:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/evaluator-based-on-user-roles/m-p/44846#M18172</guid>
      <dc:creator>krutik_jayswal</dc:creator>
      <dc:date>2018-11-28T11:02:24Z</dc:date>
    </item>
  </channel>
</rss>

