[3296] | 1 | <?xml version="1.0"?> |
---|
| 2 | <object name="CachePolicy" meta_type="Factory-based Type Information" |
---|
| 3 | xmlns:i18n="http://xml.zope.org/namespaces/i18n"> |
---|
| 4 | <property name="title">Cache Policy</property> |
---|
| 5 | <property name="description">A container for cache policies</property> |
---|
| 6 | <property name="content_icon">cachesetup_tool_icon.gif</property> |
---|
| 7 | <property name="content_meta_type">CachePolicy</property> |
---|
| 8 | <property name="product">CacheSetup</property> |
---|
| 9 | <property name="factory">addCachePolicy</property> |
---|
| 10 | <property name="immediate_view">base_edit</property> |
---|
| 11 | <property name="global_allow">False</property> |
---|
| 12 | <property name="filter_content_types">True</property> |
---|
| 13 | <property name="allowed_content_types"> |
---|
| 14 | <element value="RuleFolder"/> |
---|
| 15 | <element value="HeaderSetFolder"/> |
---|
| 16 | </property> |
---|
| 17 | <property name="allow_discussion">False</property> |
---|
| 18 | <alias from="(Default)" to="cache_policy_config"/> |
---|
| 19 | <alias from="edit" to="cache_policy_config"/> |
---|
| 20 | <alias from="view" to="cache_policy_config"/> |
---|
| 21 | <action title="Cache Policy" action_id="view" category="object" |
---|
| 22 | condition_expr="" url_expr="string:$object_url" visible="False"> |
---|
| 23 | <permission value="Manage portal"/> |
---|
| 24 | </action> |
---|
| 25 | <action title="Edit" action_id="edit" category="object" |
---|
| 26 | condition_expr="not:object/@@plone_lock_info/is_locked_for_current_user" |
---|
| 27 | url_expr="string:${object_url}/edit" visible="True"> |
---|
| 28 | <permission value="Modify portal content"/> |
---|
| 29 | </action> |
---|
| 30 | <action title="Properties" action_id="metadata" category="object" |
---|
| 31 | condition_expr="" url_expr="string:${object_url}/properties" |
---|
| 32 | visible="True"> |
---|
| 33 | <permission value="Modify portal content"/> |
---|
| 34 | </action> |
---|
| 35 | <action title="References" action_id="references" category="object" |
---|
| 36 | condition_expr="object/archetype_tool/has_graphviz" |
---|
| 37 | url_expr="string:${object_url}/reference_graph" visible="True"> |
---|
| 38 | <permission value="Modify portal content"/> |
---|
| 39 | <permission value="Review portal content"/> |
---|
| 40 | </action> |
---|
| 41 | </object> |
---|