~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to principals.zcml

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2004-07-07 14:14:22 UTC
  • Revision ID: Arch-1:rocketfuel@canonical.com%soyuz--devel--0--patch-22
correct broken commit that bypassessed arch-inventory

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!-- Use this as an example for setting up your principals -->
 
2
<!-- file. Don't simply copy this file to principals.zcml -->
 
3
<!-- unless you absolutely know it will only be used for -->
 
4
<!-- development. -->
 
5
<configure xmlns='http://namespaces.zope.org/zope'>
 
6
 
 
7
  <unauthenticatedPrincipal
 
8
    id="zope.anybody"
 
9
    title="Unauthenticated User" />
 
10
 
 
11
  <principal
 
12
    id="zope.sample_manager"
 
13
    title="Sample Manager"
 
14
    login="gandalf"
 
15
    password="123"
 
16
    />
 
17
 
 
18
  <principal
 
19
    id="zope.sample_member"
 
20
    title="Sample ordinary user (member)"
 
21
    login="frodo"
 
22
    password="456"
 
23
    />
 
24
 
 
25
  <grant
 
26
    role="zope.Manager"
 
27
    principal="zope.sample_manager"
 
28
    />
 
29
 
 
30
  <grant
 
31
    role="zope.Member"
 
32
    principal="zope.sample_member"
 
33
    />
 
34
 
 
35
</configure>