[CMF-checkins] CVS: Products/CMFDefault/profiles/default -
actions.xml:1.1 export_steps.xml:1.1 import_steps.xml:1.1
rolemap.xml:1.1 skins.xml:1.1 toolset.xml:1.1
typestool.xml:1.1 workflows.xml:1.1
Yvo Schubbe
y.2004_ at wcm-solutions.de
Thu Nov 18 13:18:54 EST 2004
Update of /cvs-repository/Products/CMFDefault/profiles/default
In directory cvs.zope.org:/tmp/cvs-serv25834/CMFDefault/profiles/default
Added Files:
actions.xml export_steps.xml import_steps.xml rolemap.xml
skins.xml toolset.xml typestool.xml workflows.xml
Log Message:
- moved 'default' profile to CMFDefault
- added 'various' step to import_steps.xml
=== Added File Products/CMFDefault/profiles/default/actions.xml ===
<?xml version="1.0"?>
<actions-tool>
<action-provider id="portal_membership">
<action action_id="login" title="Login"
condition_expr="not: member"
url_expr="string:${portal_url}/login_form"
category="user" visible="True">
<permission>View</permission>
</action>
<action action_id="preferences" title="Preferences"
condition_expr="member"
url_expr="string:${portal_url}/personalize_form"
category="user" visible="True">
<permission>View</permission>
</action>
<action action_id="logout" title="Log out"
condition_expr="member"
url_expr="string:${portal_url}/logout"
category="user" visible="True">
<permission>View</permission>
</action>
<action action_id="addFavorite" title="Add to favorites"
condition_expr="portal/portal_membership/getHomeFolder"
url_expr="string:${object_url}/addtoFavorites"
category="user" visible="True">
<permission>View</permission>
</action>
<action action_id="mystuff" title="My stuff"
condition_expr="python: member and portal.portal_membership.getHomeFolder()"
url_expr="string:${portal/portal_membership/getHomeUrl}/folder_contents"
category="user" visible="True">
<permission>View</permission>
</action>
<action action_id="favorites" title="My favorites"
condition_expr="python: member and hasattr(portal.portal_membership.getHomeFolder(), "Favorites")"
url_expr="string:${portal/portal_membership/getHomeUrl}/Favorites/folder_contents"
category="user" visible="True">
<permission>View</permission>
</action>
<action action_id="manage_members" title="Manage members"
condition_expr=""
url_expr="string:${portal_url}/members_manage_form"
category="global" visible="True">
<permission>Manage users</permission>
</action>
<action action_id="logged_in" title="Logged in"
condition_expr=""
url_expr="string:${portal_url}/logged_in"
category="user" visible="False">
<permission>View</permission>
</action>
</action-provider>
<action-provider id="portal_actions">
<action action_id="folderContents" title="Folder contents"
condition_expr="python: folder is not object"
url_expr="string:${folder_url}/folder_contents"
category="folder" visible="True">
<permission>List folder contents</permission>
</action>
</action-provider>
<action-provider id="portal_registration">
<action action_id="join" title="Join"
condition_expr="not: member"
url_expr="string:${portal_url}/join_form"
category="user" visible="True">
<permission>Add portal member</permission>
</action>
</action-provider>
<action-provider id="portal_types">
</action-provider>
<action-provider id="portal_discussion">
<action action_id="reply" title="Reply"
condition_expr="python: object is not None and portal.portal_discussion.isDiscussionAllowedFor(object)"
url_expr="string:${object_url}/discussion_reply_form"
category="object" visible="True">
<permission>Reply to item</permission>
</action>
</action-provider>
<action-provider id="portal_undo">
<action action_id="undo" title="Undo"
condition_expr="member"
url_expr="string:${portal_url}/undo_form"
category="global" visible="True">
<permission>List undoable changes</permission>
</action>
</action-provider>
<action-provider id="portal_syndication">
<action action_id="syndication" title="Syndication"
condition_expr="python: folder is object"
url_expr="string:${folder_url}/synPropertiesForm"
category="object" visible="True">
<permission>Manage properties</permission>
</action>
</action-provider>
<action-provider id="portal_workflow">
</action-provider>
<action-provider id="portal_properties">
<action action_id="configPortal"
title="Reconfigure Portal" condition_expr=""
url_expr="string:${portal_url}/reconfig_form"
category="global" visible="True">
<permission>Manage portal</permission>
</action>
</action-provider>
</actions-tool>
=== Added File Products/CMFDefault/profiles/default/export_steps.xml ===
<?xml version="1.0"?>
<export-steps>
<export-step id="actions"
handler="Products.CMFSetup.actions.exportActionProviders"
title="Action Providers">
Export actions tool's action providers and their actions.
</export-step>
<export-step id="rolemap"
handler="Products.CMFSetup.rolemap.exportRolemap"
title="Role / Permission Map">
Export custom roles and non-default role-permission mappings.
</export-step>
<export-step id="skins"
handler="Products.CMFSetup.skins.exportSkinsTool"
title="Skins Tool">
Export skins tool's filesystem directory views and skin path definitions.
</export-step>
<export-step id="step_registries"
handler="Products.CMFSetup.tool.exportStepRegistries"
title="Step Registries">
Export current contents of import step registry and export step registry.
</export-step>
<export-step id="toolset"
handler="Products.CMFSetup.tool.exportToolset"
title="Required Tools">
Export required / forbidden tools.
</export-step>
<export-step id="typeinfo"
handler="Products.CMFSetup.typeinfo.exportTypesTool"
title="Types Tool">
Export types tool's type information objects.
</export-step>
<export-step id="workflows"
handler="Products.CMFSetup.workflow.exportWorkflowTool"
title="Workflow Tool">
Export workflow tool's workflow definitions and supporting scripts.
</export-step>
</export-steps>
=== Added File Products/CMFDefault/profiles/default/import_steps.xml ===
<?xml version="1.0"?>
<import-steps>
<import-step id="actions" version="20040630-01"
handler="Products.CMFSetup.actions.importActionProviders"
title="Action Providers">
<dependency step="toolset"/>
Import actions tool's action providers and their actions.
</import-step>
<import-step id="rolemap" version="20040523-01"
handler="Products.CMFSetup.rolemap.importRolemap"
title="Role / Permission Map">
Import custom roles and non-default role-permission mappings.
</import-step>
<import-step id="skins" version="20040630-01"
handler="Products.CMFSetup.skins.importSkinsTool"
title="Skins Tool">
<dependency step="toolset"/>
Import skins tool's filesystem directory views and skin path definitions.
</import-step>
<import-step id="toolset" version="20040630-01"
handler="Products.CMFSetup.tool.importToolset"
title="Required tools">
Create required tools, replacing any of the wrong class, and remove
forbidden ones.
</import-step>
<import-step id="typeinfo" version="20040630-01"
handler="Products.CMFSetup.typeinfo.importTypesTool"
title="Types Tool">
<dependency step="toolset"/>
Import types tool's type information objects.
</import-step>
<import-step id="various" version="20041118-01"
handler="Products.CMFDefault.setuphandlers.importVarious"
title="Various Settings">
<dependency step="toolset"/>
Import various settings from PortalGenerator.
</import-step>
<import-step id="workflow" version="20040630-01"
handler="Products.CMFSetup.workflow.importWorkflowTool"
title="Workflow Tool">
<dependency step="toolset"/>
<dependency step="typeinfo"/>
Import workflow tool's workflow definitions and supporting scripts.
</import-step>
</import-steps>
=== Added File Products/CMFDefault/profiles/default/rolemap.xml ===
<?xml version="1.0"?>
<rolemap>
<roles>
<role name="Anonymous"/>
<role name="Authenticated"/>
<role name="Manager"/>
<role name="Member"/>
<role name="Owner"/>
<role name="Reviewer"/>
</roles>
<permissions>
<permission name="Access future portal content"
acquire="True">
<role name="Reviewer"/>
<role name="Manager"/>
</permission>
<permission name="Add portal content" acquire="True">
<role name="Owner"/>
<role name="Manager"/>
</permission>
<permission name="Add portal folders" acquire="True">
<role name="Owner"/>
<role name="Manager"/>
</permission>
<permission name="Delete objects" acquire="True">
<role name="Owner"/>
<role name="Manager"/>
</permission>
<permission name="FTP access" acquire="True">
<role name="Owner"/>
<role name="Manager"/>
</permission>
<permission name="List portal members" acquire="True">
<role name="Member"/>
<role name="Manager"/>
</permission>
<permission name="List undoable changes" acquire="True">
<role name="Member"/>
<role name="Manager"/>
</permission>
<permission name="Manage properties" acquire="True">
<role name="Owner"/>
<role name="Manager"/>
</permission>
<permission name="Reply to item" acquire="True">
<role name="Member"/>
<role name="Manager"/>
</permission>
<permission name="Review portal content" acquire="True">
<role name="Reviewer"/>
<role name="Manager"/>
</permission>
<permission name="Set own password" acquire="True">
<role name="Member"/>
<role name="Manager"/>
</permission>
<permission name="Set own properties" acquire="True">
<role name="Member"/>
<role name="Manager"/>
</permission>
<permission name="Undo changes" acquire="True">
<role name="Owner"/>
<role name="Manager"/>
</permission>
<permission name="View management screens"
acquire="True">
<role name="Owner"/>
<role name="Manager"/>
</permission>
</permissions>
</rolemap>
=== Added File Products/CMFDefault/profiles/default/skins.xml ===
<?xml version="1.0"?>
<skins-tool default_skin="Basic"
request_varname="portal_skin" allow_any="0"
cookie_persistence="0">
<skin-directory id="Images"
directory="CMFDefault/skins/Images"/>
<skin-directory id="zpt_content"
directory="CMFDefault/skins/zpt_content"/>
<skin-directory id="zpt_control"
directory="CMFDefault/skins/zpt_control"/>
<skin-directory id="zpt_generic"
directory="CMFDefault/skins/zpt_generic"/>
<skin-directory id="zpt_topic"
directory="CMFTopic/skins/zpt_topic"/>
<skin-path id="Basic">
<layer name="custom"/>
<layer name="zpt_topic"/>
<layer name="zpt_content"/>
<layer name="zpt_generic"/>
<layer name="zpt_control"/>
<layer name="Images"/>
</skin-path>
</skins-tool>
=== Added File Products/CMFDefault/profiles/default/toolset.xml ===
<?xml version="1.0"?>
<tool-setup>
<required tool_id="portal_actions"
class="Products.CMFCore.ActionsTool.ActionsTool"/>
<required tool_id="portal_catalog"
class="Products.CMFCore.CatalogTool.CatalogTool"/>
<required tool_id="portal_discussion"
class="Products.CMFDefault.DiscussionTool.DiscussionTool"/>
<required tool_id="portal_memberdata"
class="Products.CMFCore.MemberDataTool.MemberDataTool"/>
<required tool_id="portal_membership"
class="Products.CMFDefault.MembershipTool.MembershipTool"/>
<required tool_id="portal_metadata"
class="Products.CMFDefault.MetadataTool.MetadataTool"/>
<required tool_id="portal_properties"
class="Products.CMFDefault.PropertiesTool.PropertiesTool"/>
<required tool_id="portal_registration"
class="Products.CMFDefault.RegistrationTool.RegistrationTool"/>
<required tool_id="portal_skins"
class="Products.CMFCore.SkinsTool.SkinsTool"/>
<required tool_id="portal_syndication"
class="Products.CMFDefault.SyndicationTool.SyndicationTool"/>
<required tool_id="portal_types"
class="Products.CMFCore.TypesTool.TypesTool"/>
<required tool_id="portal_undo"
class="Products.CMFCore.UndoTool.UndoTool"/>
<required tool_id="portal_url"
class="Products.CMFCore.URLTool.URLTool"/>
<required tool_id="portal_workflow"
class="Products.CMFCore.WorkflowTool.WorkflowTool"/>
</tool-setup>
=== Added File Products/CMFDefault/profiles/default/typestool.xml ===
<?xml version="1.0"?>
<types-tool>
<type id="Discussion Item"
filename="types/Discussion_Item.xml"/>
<type id="Document"/>
<type id="Favorite"/>
<type id="File"/>
<type id="Folder"/>
<type id="Image"/>
<type id="Link"/>
<type id="News Item" filename="types/News_Item.xml"/>
<type id="Topic"/>
</types-tool>
=== Added File Products/CMFDefault/profiles/default/workflows.xml ===
<?xml version="1.0"?>
<workflow-tool>
<workflow workflow_id="default_workflow"
meta_type="Workflow"
filename="workflows/default_workflow/definition.xml"/>
<bindings>
<default>
<bound-workflow workflow_id="default_workflow"/>
</default>
<type type_id="Folder">
</type>
<type type_id="Topic">
</type>
</bindings>
</workflow-tool>
More information about the CMF-checkins
mailing list