Author: janguenot
Date: Wed Oct  5 18:16:05 2005
New Revision: 27978

Added:
   z3lab/Zope3Benchs/trunk/principals.zcml   (contents, props changed)
Log:
sample Zope3 principals for tests

Added: z3lab/Zope3Benchs/trunk/principals.zcml
==============================================================================
--- (empty file)
+++ z3lab/Zope3Benchs/trunk/principals.zcml     Wed Oct  5 18:16:05 2005
@@ -0,0 +1,51 @@
+<!-- Use this as an example for setting up your principals -->
+<!-- file. Don't simply copy this file to principals.zcml -->
+<!-- unless you absolutely know it will only be used for -->
+<!-- development. -->
+<configure xmlns='http://namespaces.zope.org/zope'>
+
+  <unauthenticatedPrincipal
+    id="zope.anybody"
+    title="Unauthenticated User" 
+    />
+
+  <unauthenticatedGroup
+    id="zope.Anybody"
+    title="Unauthenticated Users" 
+    />
+
+  <authenticatedGroup
+    id="zope.Authenticated"
+    title="Authenticated Users" 
+    />
+
+  <everybodyGroup
+    id="zope.Everybody"
+    title="All Users" 
+    />
+
+  <principal
+    id="zope.sample_manager"
+    title="Sample Manager"
+    login="admin"
+    password="nimda"
+    />
+
+  <principal
+    id="zope.sample_member"
+    title="Sample ordinary user (member)"
+    login="frodo"
+    password="456"
+    />
+
+  <grant
+    role="zope.Manager"
+    principal="zope.sample_manager"
+    />
+
+  <grant
+    role="zope.Member"
+    principal="zope.sample_member"
+    />
+
+</configure>
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to