<?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: Making the work flow user specific in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/making-the-work-flow-user-specific/m-p/232420#M185550</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are saying "rule" but I assume you mean "UI Action". I don't think it makes sense to hide rules from users but it would definitely make sense to hide UI actions from users based on their role or any other arbitrary criteria.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are talking about UI actions, you have two options. First, you can use the "permissions" element to define the minimum set of permissions a user must have in order to see the UI action. The permission group you use can be an out-of-the-box permission group like, "Editor" or "Coordinator", or it can be a custom one that you define, like "Agent".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your second option is to write an action evaluator class. Action evaluators implement the org.alfresco.web.action.ActionEvaluator interface. Your evaluate method returns true or false to tell Alfresco to show or hide the UI action. You can use whatever logic you want in your evaluate method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course, you can combine both if you need to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a sample UI action config from the Alfresco Developer Guide that shows a UI action that is only visible to members of the custom "PortalPublisher" role when the com.someco.action.evaluator.WebEnableEvaluator's evaluate method returns true:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;action id="web_enable"&amp;gt;&lt;BR /&gt;&amp;lt;permissions&amp;gt;&lt;BR /&gt;&amp;lt;!– each permission can be an Allow or Deny check –&amp;gt;&lt;BR /&gt;&amp;lt;permission allow="true"&amp;gt;PortalPublisher&amp;lt;/permission&amp;gt;&lt;BR /&gt;&amp;lt;/permissions&amp;gt;&lt;BR /&gt;&amp;lt;evaluator&amp;gt;com.someco.action.evaluator.WebEnableEvaluator&lt;BR /&gt;&amp;lt;/evaluator&amp;gt;&lt;BR /&gt;&amp;lt;label-id&amp;gt;enableWeb&amp;lt;/label-id&amp;gt;&lt;BR /&gt;…&lt;BR /&gt;&amp;lt;/action&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jun 2009 22:07:38 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2009-06-18T22:07:38Z</dc:date>
    <item>
      <title>Making the work flow user specific</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/making-the-work-flow-user-specific/m-p/232419#M185549</link>
      <description>Hi friends ,I am facing a problem in cteating a simple work flow.I have created a rule ..for submit for approval..but it should only be seen by a user called agent .But a user called underwriter is also able to see.So my requirement&amp;nbsp; is ..only Agent should see that …so can I write a rule that is use</description>
      <pubDate>Wed, 10 Jun 2009 07:08:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/making-the-work-flow-user-specific/m-p/232419#M185549</guid>
      <dc:creator>kiran_428</dc:creator>
      <dc:date>2009-06-10T07:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Making the work flow user specific</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/making-the-work-flow-user-specific/m-p/232420#M185550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are saying "rule" but I assume you mean "UI Action". I don't think it makes sense to hide rules from users but it would definitely make sense to hide UI actions from users based on their role or any other arbitrary criteria.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are talking about UI actions, you have two options. First, you can use the "permissions" element to define the minimum set of permissions a user must have in order to see the UI action. The permission group you use can be an out-of-the-box permission group like, "Editor" or "Coordinator", or it can be a custom one that you define, like "Agent".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your second option is to write an action evaluator class. Action evaluators implement the org.alfresco.web.action.ActionEvaluator interface. Your evaluate method returns true or false to tell Alfresco to show or hide the UI action. You can use whatever logic you want in your evaluate method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course, you can combine both if you need to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a sample UI action config from the Alfresco Developer Guide that shows a UI action that is only visible to members of the custom "PortalPublisher" role when the com.someco.action.evaluator.WebEnableEvaluator's evaluate method returns true:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;action id="web_enable"&amp;gt;&lt;BR /&gt;&amp;lt;permissions&amp;gt;&lt;BR /&gt;&amp;lt;!– each permission can be an Allow or Deny check –&amp;gt;&lt;BR /&gt;&amp;lt;permission allow="true"&amp;gt;PortalPublisher&amp;lt;/permission&amp;gt;&lt;BR /&gt;&amp;lt;/permissions&amp;gt;&lt;BR /&gt;&amp;lt;evaluator&amp;gt;com.someco.action.evaluator.WebEnableEvaluator&lt;BR /&gt;&amp;lt;/evaluator&amp;gt;&lt;BR /&gt;&amp;lt;label-id&amp;gt;enableWeb&amp;lt;/label-id&amp;gt;&lt;BR /&gt;…&lt;BR /&gt;&amp;lt;/action&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2009 22:07:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/making-the-work-flow-user-specific/m-p/232420#M185550</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2009-06-18T22:07:38Z</dc:date>
    </item>
  </channel>
</rss>

