[Zope-Checkins] CVS: Zope3 - principals.zcml:1.1.2.4.2.1 contentObjects.zcml:NONE
Stephan Richter
srichter@cbu.edu
Mon, 4 Mar 2002 01:19:08 -0500
Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv32648
Modified Files:
Tag: srichter-OFS_Formulator-branch
principals.zcml
Removed Files:
Tag: srichter-OFS_Formulator-branch
contentObjects.zcml
Log Message:
- Simple setup (ZCML) changes of files.
- Various other little things
=== Zope3/principals.zcml 1.1.2.4 => 1.1.2.4.2.1 ===
+ Don't simply copy this file to principals.zcml unless you
+ absolutely know it will only be used for development.
+ -->
<zopeConfigure
xmlns='http://namespaces.zope.org/zope'
xmlns:security='http://namespaces.zope.org/security'
@@ -5,6 +9,16 @@
xmlns:browser='http://namespaces.zope.org/browser'
>
-<security:defaultPrincipal principal_id="anybody" title="Unauthenticated User" />
+<security:defaultPrincipal principal_id="anybody"
+ title="Unauthenticated User" />
+
+<security:principal principal_id="stupid" title="Stupid, replace me"
+ login="stupid" password="123" />
+<security:principal principal_id="idiot" title="I'm an idiot, replace me"
+ login="idiot" password="456" />
+
+<security:assignRoleToPrincipal role_id="Manager" principal_id="anybody" />
+<security:assignRoleToPrincipal role_id="Manager" principal_id="stupid" />
+<security:assignRoleToPrincipal role_id="Member" principal_id="idiot" />
</zopeConfigure>
=== Removed File Zope3/contentObjects.zcml ===