<?xml version="1.0"?>
<object name="portal_actions" meta_type="CMF Actions Tool">
 <action-provider name="portal_membership">
  <action title="Login" action_id="login" category="user"
     condition_expr="not: member" url_expr="string:${portal_url}/login_form"
     visible="True">
   <permission>View</permission>
  </action>
  <action title="Preferences" action_id="preferences" category="user"
     condition_expr="member" url_expr="string:${portal_url}/personalize_form"
     visible="True">
   <permission>View</permission>
  </action>
  <action title="Log out" action_id="logout" category="user"
     condition_expr="member" url_expr="string:${portal_url}/logout"
     visible="True">
   <permission>View</permission>
  </action>
  <action title="Add to favorites" action_id="addFavorite" category="user"
     condition_expr="portal/portal_membership/getHomeFolder"
     url_expr="string:${object_url}/addtoFavorites" visible="True">
   <permission>View</permission>
  </action>
  <action title="My stuff" action_id="mystuff" category="user"
     condition_expr="python: member and portal.portal_membership.getHomeFolder()"
     url_expr="string:${portal/portal_membership/getHomeUrl}/folder_contents"
     visible="True">
   <permission>View</permission>
  </action>
  <action title="My favorites" action_id="favorites" category="user"
     condition_expr="python: member and hasattr(portal.portal_membership.getHomeFolder(), &quot;Favorites&quot;)"
     url_expr="string:${portal/portal_membership/getHomeUrl}/Favorites/folder_contents"
     visible="True">
   <permission>View</permission>
  </action>
  <action title="Manage members" action_id="manage_members" category="global"
     condition_expr="" url_expr="string:${portal_url}/members_manage_form"
     visible="True">
   <permission>Manage users</permission>
  </action>
  <action title="Logged in" action_id="logged_in" category="user"
     condition_expr="" url_expr="string:${portal_url}/logged_in"
     visible="False">
   <permission>View</permission>
  </action>
 </action-provider>
 <action-provider name="portal_actions">
  <action title="Folder contents" action_id="folderContents" category="folder"
     condition_expr="python: folder is not object"
     url_expr="string:${folder_url}/folder_contents" visible="True">
   <permission>List folder contents</permission>
  </action>
 </action-provider>
 <action-provider name="portal_registration">
  <action title="Join" action_id="join" category="user"
     condition_expr="not: member" url_expr="string:${portal_url}/join_form"
     visible="True">
   <permission>Add portal member</permission>
  </action>
 </action-provider>
 <action-provider name="portal_types"/>
 <action-provider name="portal_discussion">
  <action title="Reply" action_id="reply" category="object"
     condition_expr="python: object is not None and portal.portal_discussion.isDiscussionAllowedFor(object)"
     url_expr="string:${object_url}/discussion_reply_form" visible="True">
   <permission>Reply to item</permission>
  </action>
 </action-provider>
 <action-provider name="portal_undo">
  <action title="Undo" action_id="undo" category="global"
     condition_expr="member" url_expr="string:${portal_url}/undo_form"
     visible="True">
   <permission>List undoable changes</permission>
  </action>
 </action-provider>
 <action-provider name="portal_syndication">
  <action title="Syndication" action_id="syndication" category="object"
     condition_expr="python: folder is object"
     url_expr="string:${folder_url}/synPropertiesForm" visible="True">
   <permission>Manage properties</permission>
  </action>
 </action-provider>
 <action-provider name="portal_workflow"/>
 <action-provider name="portal_properties">
  <action title="Reconfigure Portal" action_id="configPortal"
     category="global" condition_expr=""
     url_expr="string:${portal_url}/reconfig_form" visible="True">
   <permission>Manage portal</permission>
  </action>
 </action-provider>
</object>
