[CMF-checkins] CVS: CMF/CMFSetup/xml - rmeExport.xml:1.1
Tres Seaver
tseaver at zope.com
Tue May 18 15:54:57 EDT 2004
Update of /cvs-repository/CMF/CMFSetup/xml
In directory cvs.zope.org:/tmp/cvs-serv26621/xml
Added Files:
rmeExport.xml
Log Message:
- Add exporter for role-permission map, and tests.
=== Added File CMF/CMFSetup/xml/rmeExport.xml ===
<?xml version="1.0"?>
<rolemap xmlns:tal="http://xml.zope.org/namespaces/tal">
<roles>
<role name="ROLENAME"
tal:repeat="role here/listRoles"
tal:attributes="name role" />
</roles>
<permissions>
<permission name="PERMISSION NAME" acquire="1" roles="ROLE1 ROLE2"
tal:repeat="info here/listPermissions"
tal:attributes="name info/name;
acquire info/acquire;
roles python:' '.join(info['roles']);
" />
</permissions>
</rolemap>
More information about the CMF-checkins
mailing list