Hi,

I created a file in nuxeo.ear/config called
additional-actions-config.xml containing the following text but I still
don't get the 'access rights' subtab on a non-folderish document, any
clue ? I see in server.log that the component is correctly activated.

BTW in ur wiki page you are talking about nuxeo.ear/contrib, shouldn't
it be nuxeo.ear/config ?

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.additional-actions">

  <require>org.nuxeo.ecm.platform.actions</require>

  <extension target="org.nuxeo.ecm.platform.actions.ActionService"
    point="actions">
    <!-- Our new contribution, we are not using the same filter -->
    <action id="TAB_RIGHTS" link="/incl/tabs/document_rights.xhtml"
order="50"
      label="action.view.rights" icon="/icons/file.gif">
      <category>TAB_MANAGE_sub_tab</category>
      <filter-id>non-folderish-rights</filter-id>
    </action>

  </extension>

  <extension target="org.nuxeo.ecm.platform.actions.ActionService"
    point="filters">

    <!-- Our new filter, not filtering on Folderish facet-->
    <filter id="non-folderish-rights">
      <rule grant="true">
        <permission>WriteSecurity</permission>
      </rule>
    </filter>

  </extension>

</component>
--
Posted by "vdu" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: 
<http://www.nuxeo.org/discussions/thread.jspa?threadID=2527#7422>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to