[CMF-checkins] CVS: CMF/CMFSetup/profiles/default - export_steps.xml:1.1 import_steps.xml:1.1 rolemap.xml:1.1

Tres Seaver tseaver at zope.com
Mon May 24 10:36:51 EDT 2004


Update of /cvs-repository/CMF/CMFSetup/profiles/default
In directory cvs.zope.org:/tmp/cvs-serv23784/profiles/default

Added Files:
	export_steps.xml import_steps.xml rolemap.xml 
Log Message:


  - __init__.py:

    o Register tool for adding via the ZMI.

  - context.py:

    o Add accessor for archive filename to TarballExportContext.

  - tool.py:

    o Add ZMI for properties, importing, and exporting (import actions
      still shimmed out).

    o Rename export / import XML files (no hyphens in filenames!)

    o Allow calling 'getProfileDirectory( relative_to_product=True )'
      even if no product is assigned (eases ZMI usage).

  - profiles/default/*.xml:

    o Initial dump of "stock" CMF config for current steps.

  - tests/default_profile/*.xml:

    o Rename export / import XML files (no hyphens in filenames!)


=== Added File CMF/CMFSetup/profiles/default/export_steps.xml ===
<?xml version="1.0"?>
<export-steps>
 <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="step_registries"
              handler="Products.CMFSetup.tool.exportStepRegistries"
              title="Step Registries">
  
  Export current contents of import step registry and export step registry.
 
 </export-step>
</export-steps>


=== Added File CMF/CMFSetup/profiles/default/import_steps.xml ===
<?xml version="1.0"?>
<import-steps>
 <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-steps>


=== Added File CMF/CMFSetup/profiles/default/rolemap.xml ===
<?xml version="1.0"?>
<rolemap>
  <roles>
    <role name="Member"/>
    <role name="Reviewer"/>
  </roles>
  <permissions>
    <permission name="Access future portal content"
                acquire="True" roles="Reviewer"/>
    <permission name="List portal members" acquire="True"
                roles="Member"/>
    <permission name="List undoable changes" acquire="True"
                roles="Member"/>
    <permission name="Reply to item" acquire="True"
                roles="Member"/>
    <permission name="Review portal content" acquire="True"
                roles="Reviewer"/>
    <permission name="Set own password" acquire="True"
                roles="Member"/>
    <permission name="Set own properties" acquire="True"
                roles="Member"/>
  </permissions>
</rolemap>




More information about the CMF-checkins mailing list