Contribution org.nuxeo.platform.TemplateSources.actions--filters
In component org.nuxeo.platform.TemplateSources.actions
org.nuxeo.platform.TemplateSources.actions
inside nuxeo-template-rendering-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="is_creating_template">
<rule grant="true">
<condition>#{changeableDocument.type == 'TemplateSource'}</condition>
</rule>
</filter>
<filter id="is_creating_template_instance">
<rule grant="true">
<condition>#{changeableDocument.hasFacet('TemplateBased')}</condition>
</rule>
</filter>
<filter id="is_not_creating_template">
<rule grant="false">
<condition>#{changeableDocument.type == 'TemplateSource'}</condition>
</rule>
<rule grant="false">
<condition>#{changeableDocument.hasFacet('TemplateBased')}</condition>
</rule>
</filter>
</extension>