<?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 How can i limit Main tabs view per user in Nuxeo DM 5.5? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-limit-main-tabs-view-per-user-in-nuxeo-dm-5-5/m-p/328063#M15064</link>
    <description>&lt;P&gt;I have 2 users i.e John and Ana.&lt;/P&gt;
&lt;P&gt;I want to provide access rights to both of them such that:&lt;/P&gt;
&lt;P&gt;John can only see the Home, Document Managaement Tab.
Ana can only see the Home, Admin Center Tab.&lt;/P&gt;
&lt;P&gt;is it possible to do this via extension points?
Please help&lt;/P&gt;</description>
    <pubDate>Fri, 30 Mar 2012 06:06:08 GMT</pubDate>
    <dc:creator>catherine_</dc:creator>
    <dc:date>2012-03-30T06:06:08Z</dc:date>
    <item>
      <title>How can i limit Main tabs view per user in Nuxeo DM 5.5?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-limit-main-tabs-view-per-user-in-nuxeo-dm-5-5/m-p/328063#M15064</link>
      <description>&lt;P&gt;I have 2 users i.e John and Ana.&lt;/P&gt;
&lt;P&gt;I want to provide access rights to both of them such that:&lt;/P&gt;
&lt;P&gt;John can only see the Home, Document Managaement Tab.
Ana can only see the Home, Admin Center Tab.&lt;/P&gt;
&lt;P&gt;is it possible to do this via extension points?
Please help&lt;/P&gt;</description>
      <pubDate>Fri, 30 Mar 2012 06:06:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-limit-main-tabs-view-per-user-in-nuxeo-dm-5-5/m-p/328063#M15064</guid>
      <dc:creator>catherine_</dc:creator>
      <dc:date>2012-03-30T06:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: How can i limit Main tabs view per user in Nuxeo DM 5.5?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-limit-main-tabs-view-per-user-in-nuxeo-dm-5-5/m-p/328064#M15065</link>
      <description>&lt;P&gt;As the Main tabs are defined through actions, you can append any filter you want to the actions to show / hide them.&lt;/P&gt;
&lt;P&gt;For instance, to hide the Document Management tab for users in &lt;CODE&gt;group1&lt;/CODE&gt;:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;require&amp;gt;org.nuxeo.ecm.platform.actions&amp;lt;/require&amp;gt;

&amp;lt;extension target="org.nuxeo.ecm.platform.actions.ActionService"
  point="actions"&amp;gt;
  &amp;lt;action id="documents"&amp;gt;
    &amp;lt;filter-id&amp;gt;denyForGroup1&amp;lt;/filter-id&amp;gt;
  &amp;lt;/action&amp;gt;
&amp;lt;/extension&amp;gt;

&amp;lt;extension target="org.nuxeo.ecm.platform.actions.ActionService"
  point="filters"&amp;gt;
  &amp;lt;filter id="denyForGroup1"&amp;gt;
    &amp;lt;rule grant="false"&amp;gt;
      &amp;lt;condition&amp;gt;#{currentUser.isMemberOf('group1')}&amp;lt;/condition&amp;gt;
    &amp;lt;/rule&amp;gt;
  &amp;lt;/filter&amp;gt;
&amp;lt;/extension&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Don't forget the &lt;CODE&gt;require&lt;/CODE&gt; element to correctly override the existing actions.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2012 12:01:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-limit-main-tabs-view-per-user-in-nuxeo-dm-5-5/m-p/328064#M15065</guid>
      <dc:creator>Thomas_Roger</dc:creator>
      <dc:date>2012-04-02T12:01:43Z</dc:date>
    </item>
  </channel>
</rss>

