Contribution org.nuxeo.ecm.directory.actions--filters
In component org.nuxeo.ecm.directory.actions
org.nuxeo.ecm.directory.actions
inside nuxeo-platform-directory-web-5.8.jar
This contribution is part of XML component Extension Point
Extension point filters of component ActionService.Contributed Items
XML Source
<extension point="filters" target="org.nuxeo.ecm.platform.actions.ActionService">
<filter id="directoriesManagementAccess">
<rule grant="true">
<condition>currentUser.administrator</condition>
<condition>currentUser.isMemberOf('powerusers')</condition>
</rule>
</filter>
<!-- This filter is designed to be evaluated via
#{directoryUIActions.checkContextualDirectoryFilter('readOnlyDirectory')}
the filter context contains the name of the current directory being displayed
You can override this filter to implement a custom logic
-->
<filter id="readOnlyDirectory">
<rule grant="true">
<condition>#{directoryUIActions.isReadOnly(directoryName)}</condition>
</rule>
</filter>
</extension>