<?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 display information only to admin user in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/display-information-only-to-admin-user/m-p/108960#M76445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i am trying to customize browse.jsp to display specific information only to admin user. I want hide content-panel to user other than admin, and in the space panel i would like to hide columns modified and actions to all users other than admin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the first point, i've managed to do such when using tag &amp;lt;a:booleanEvaluator&amp;gt; as follows &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;a:booleanEvaluator value="#{NavigationBean.currentUser.admin == true}" id="evalAcontent"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;%– Details - Content –%&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ……&lt;BR /&gt;&amp;lt;/a:booleanEvaluator&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; and it works fine&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But for the second, it doesn't work well with &amp;lt;a:booleanEvaluator&amp;gt;, here is the code :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;%– Modified Date column for details/icons view modes –%&amp;gt;&lt;BR /&gt;&amp;lt;a:booleanEvaluator value="#{NavigationBean.currentUser.admin == true}" id="evalMod"&amp;gt;&lt;BR /&gt;&amp;lt;a:column id="col7" style="text-align:left"&amp;gt;&lt;BR /&gt;&amp;lt;f:facet name="header"&amp;gt;&lt;BR /&gt;&amp;lt;a:sortLink id="col7-sort" label="#{msg.modified}" value="modified" styleClass="header"/&amp;gt;&lt;BR /&gt;&amp;lt;/f:facet&amp;gt;&lt;BR /&gt;&amp;lt;h:outputText id="col7-txt" value="#{r.modified}"&amp;gt;&lt;BR /&gt;&amp;lt;a:convertXMLDate type="both" pattern="#{msg.date_time_pattern}" /&amp;gt;&lt;BR /&gt;&amp;lt;/h:outputText&amp;gt;&lt;BR /&gt;&amp;lt;/a:column&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;%– Space Actions column –%&amp;gt;&lt;BR /&gt;&amp;lt;a:column id="col9" actions="true" style="text-align:left"&amp;gt;&lt;BR /&gt;&amp;lt;f:facet name="header"&amp;gt;&lt;BR /&gt;&amp;lt;h:outputText id="col9-txt" value="#{msg.actions}"/&amp;gt;&lt;BR /&gt;&amp;lt;/f:facet&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;r:actions id="col9-acts1" value="space_browse" context="#{r}" showLink="false" styleClass="inlineAction" /&amp;gt;&lt;BR /&gt;&amp;lt;a:menu id="spaces-more-menu" itemSpacing="4" image="/images/icons/more.gif" tooltip="#{msg.more_actions}" menuStyleClass="moreActionsMenu"&amp;gt;&lt;BR /&gt;&amp;lt;r:actions id="col9-acts2" value="space_browse_menu" context="#{r}" /&amp;gt;&lt;BR /&gt;&amp;lt;/a:menu&amp;gt;&lt;BR /&gt;&amp;lt;/a:column&amp;gt;&lt;BR /&gt;&amp;lt;/a:booleanEvaluator&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;/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;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;if i connect with a non-admin user it works (information are not displayed) but when i connect as admin no information is displayed !!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;how can i do to make this work correctly?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have also tried to used rendered attribute for tag &amp;lt;a:column&amp;gt;, as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;a:column id="col7" style="text-align:left" rendered="#{NavigationBean.currentUser.admin == true}"&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; do you recommend this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Apr 2007 14:43:39 GMT</pubDate>
    <dc:creator>alpha</dc:creator>
    <dc:date>2007-04-10T14:43:39Z</dc:date>
    <item>
      <title>display information only to admin user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/display-information-only-to-admin-user/m-p/108960#M76445</link>
      <description>hi guys,i am trying to customize browse.jsp to display specific information only to admin user. I want hide content-panel to user other than admin, and in the space panel i would like to hide columns modified and actions to all users other than admin.For the first point, i've managed to do such when</description>
      <pubDate>Tue, 10 Apr 2007 14:43:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/display-information-only-to-admin-user/m-p/108960#M76445</guid>
      <dc:creator>alpha</dc:creator>
      <dc:date>2007-04-10T14:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: display information only to admin user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/display-information-only-to-admin-user/m-p/108961#M76446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Instead of wrapping the booleanevaluator around several columns, remove it and try add this attribute to each column you want to hide for non-admin users:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;rendered="#{NavigationBean.currentUser.admin == true}"&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 10:18:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/display-information-only-to-admin-user/m-p/108961#M76446</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-04-16T10:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: display information only to admin user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/display-information-only-to-admin-user/m-p/108962#M76447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks for ur reply&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;actually i have tried this, and it's not working, it doesn't make any diffrence whether i put this code or not. The column is displayed to all users.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;a:column id="col7" style="text-align:left" rendered="#{NavigationBean.currentUser.admin == true}"&amp;gt;&lt;BR /&gt;&amp;lt;f:facet name="header"&amp;gt;&lt;BR /&gt;&amp;lt;a:sortLink id="col7-sort" label="#{msg.modified}" value="modified" styleClass="header"/&amp;gt;&lt;BR /&gt;&amp;lt;/f:facet&amp;gt;&lt;BR /&gt;&amp;lt;h:outputText id="col7-txt" value="#{r.modified}"&amp;gt;&lt;BR /&gt;&amp;lt;a:convertXMLDate type="both" pattern="#{msg.date_time_pattern}" /&amp;gt;&lt;BR /&gt;&amp;lt;/h:outputText&amp;gt;&lt;BR /&gt;&amp;lt;/a:column&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Have u managed to make it work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for helping&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 17:06:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/display-information-only-to-admin-user/m-p/108962#M76447</guid>
      <dc:creator>alpha</dc:creator>
      <dc:date>2007-04-16T17:06:59Z</dc:date>
    </item>
  </channel>
</rss>

