<?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: share UI config dependent on user role in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/share-ui-config-dependent-on-user-role/m-p/286828#M239958</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We were just talking about this general subject today on Tech Talk Live. The recording should be available in a day or two so keep an eye on &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Live" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Live&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;this page&amp;lt;/a&amp;gt; for a link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can show or hide UI actions through configuration. The thing that decides whether to show or hide an action is called an evaluator. If you look at slingshot-documentlibrary-context.xml you can see the out-of-the-box evaluators. Here is one for groupMembership:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;bean id="evaluator.doclib.action.groupMembership" class="org.alfresco.web.evaluator.HasGroupMembershipsEvaluator"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="slingshotEvaluatorUtil" ref="slingshot.evaluator.utility" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you look at share-documentlibrary-config.xml you'll see where the list of actions are defined. You can see that some actions have evaluators that decide whether or not to show or hide the action.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So you could create your own extended config that defines your action sets and calls the groupMembership evaluator to show or hide them as you see fit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You had another post that was talking about the Create Site action specifically. I do not know whether or not that particular action can be controlled with an evaluator through config. My hunch is no, but it would be worth some digging.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that gets you pointed in the right direction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Mar 2013 23:46:15 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2013-03-06T23:46:15Z</dc:date>
    <item>
      <title>share UI config dependent on user role</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-ui-config-dependent-on-user-role/m-p/286827#M239957</link>
      <description>Hello,We are just starting with alfresco. I created a workflow and now want a very simple UI for end users to fulfill their user tasks and another UI config for the department handling the user requests. At the moment I use share for that (other ideas?) and I get along with the main xml configuratio</description>
      <pubDate>Wed, 06 Mar 2013 12:53:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-ui-config-dependent-on-user-role/m-p/286827#M239957</guid>
      <dc:creator>groovehunter</dc:creator>
      <dc:date>2013-03-06T12:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: share UI config dependent on user role</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-ui-config-dependent-on-user-role/m-p/286828#M239958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We were just talking about this general subject today on Tech Talk Live. The recording should be available in a day or two so keep an eye on &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Live" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Live&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;this page&amp;lt;/a&amp;gt; for a link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can show or hide UI actions through configuration. The thing that decides whether to show or hide an action is called an evaluator. If you look at slingshot-documentlibrary-context.xml you can see the out-of-the-box evaluators. Here is one for groupMembership:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;bean id="evaluator.doclib.action.groupMembership" class="org.alfresco.web.evaluator.HasGroupMembershipsEvaluator"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="slingshotEvaluatorUtil" ref="slingshot.evaluator.utility" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you look at share-documentlibrary-config.xml you'll see where the list of actions are defined. You can see that some actions have evaluators that decide whether or not to show or hide the action.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So you could create your own extended config that defines your action sets and calls the groupMembership evaluator to show or hide them as you see fit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You had another post that was talking about the Create Site action specifically. I do not know whether or not that particular action can be controlled with an evaluator through config. My hunch is no, but it would be worth some digging.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that gets you pointed in the right direction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2013 23:46:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-ui-config-dependent-on-user-role/m-p/286828#M239958</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2013-03-06T23:46:15Z</dc:date>
    </item>
  </channel>
</rss>

