[CMF-checkins] CVS: CMF/CMFSetup/xml - rmeExport.xml:1.2
Yvo Schubbe
y.2004_ at wcm-solutions.de
Thu Aug 5 15:13:34 EDT 2004
Update of /cvs-repository/CMF/CMFSetup/xml
In directory cvs.zope.org:/tmp/cvs-serv20351/CMFSetup/xml
Modified Files:
rmeExport.xml
Log Message:
- refactored rolemap using minidom
- converted the roles attribute to role sub-elements
- updated default profile
=== CMF/CMFSetup/xml/rmeExport.xml 1.1 => 1.2 ===
--- CMF/CMFSetup/xml/rmeExport.xml:1.1 Tue May 18 15:54:56 2004
+++ CMF/CMFSetup/xml/rmeExport.xml Thu Aug 5 15:13:34 2004
@@ -2,15 +2,18 @@
<rolemap xmlns:tal="http://xml.zope.org/namespaces/tal">
<roles>
<role name="ROLENAME"
- tal:repeat="role here/listRoles"
- tal:attributes="name role" />
+ tal:repeat="role context/listRoles"
+ tal:attributes="name role"/>
</roles>
<permissions>
- <permission name="PERMISSION NAME" acquire="1" roles="ROLE1 ROLE2"
- tal:repeat="info here/listPermissions"
+ <permission name="PERMISSION NAME" acquire="True"
+ tal:repeat="info context/listPermissions"
tal:attributes="name info/name;
acquire info/acquire;
- roles python:' '.join(info['roles']);
- " />
+ ">
+ <role name="ROLENAME"
+ tal:repeat="role info/roles"
+ tal:attributes="name role"/>
+ </permission>
</permissions>
</rolemap>
More information about the CMF-checkins
mailing list