<?xml version="1.0"?>
<object name="MailingList"
	meta_type="Factory-based Type Information"
	xmlns:i18n="http://xml.zope.org/namespaces/i18n">

 <property name="title">MailingList</property>
 <property name="description">A mailing list manages user subscriptions and processes incoming mail.</property>
 <property name="content_icon">mailboxer_icon.png</property>
 <property name="content_meta_type">MailingList</property>
 <property name="product">listen</property>
 <property name="factory">addMailingList</property>
 <property name="immediate_view">edit</property>
 <property name="global_allow">True</property>
 <property name="filter_content_types">True</property>
 <property name="allowed_content_types"/>
 <property name="allow_discussion">False</property>

 <alias from="(Default)" to="@@mailinglist_view"/>
 <alias from="index.html" to="@@mailinglist_view"/>
 <alias from="view" to="@@mailinglist_view"/>
 <alias from="edit" to="@@edit"/>
 <alias from="manage_membership" to="@@manage_membership"/>
 <alias from="sharing" to="folder_localrole_form"/>

 <action title="View" action_id="view" category="object" condition_expr=""
    url_expr="string:${object_url}" visible="True">
  <permission value="View"/>
 </action>

 <action title="Edit" action_id="edit" category="object" condition_expr=""
    url_expr="string:${object_url}/edit" visible="True">
  <permission value="Listen: Edit mailing list"/>
 </action>

 <action title="Archive" action_id="archive" category="object"
    condition_expr="" url_expr="string:${object_url}/archive" visible="True">
  <permission value="View"/>
 </action>

 <action title="Search" action_id="search" category="object"
    condition_expr="" url_expr="string:${object_url}/archive/search_archive"
    visible="True">
  <permission value="View"/>
 </action>

 <action title="Membership" action_id="manage_membership" category="object"
    condition_expr="" url_expr="string:${object_url}/manage_membership"
    visible="True">
  <permission value="Listen: Manage subscriptions"/>
 </action>

 <action title="Moderation" action_id="moderation" category="object"
    condition_expr="" url_expr="string:${object_url}/moderation"
    visible="True">
  <permission value="Listen: Edit mailing list"/>
 </action>

 <!-- TODO: Moderation and bounced/disabled address management TTW -->
 <!-- 
 <action title="Moderate" action_id="moderate" category="object"
    condition_expr="" url_expr="string:${object_url}/mqueue"
    visible="True">
  <permission value="Listen: Manage subscriptions"/>
 </action>

 <action title="Manage List" action_id="managelist" category="object"
    condition_expr="" url_expr="string:${object_url}/manage-list"
    visible="True">
  <permission value="Listen: Manage subscriptions"/>
 </action>
 -->

</object>
