~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to principals.zcml.example

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2004-07-07 04:00:36 UTC
  • mfrom: (unknown (missing))
  • Revision ID: Arch-1:rocketfuel@canonical.com%soyuz--devel--0--patch-20
provide a build target for the sourcecode meta-dir
Patches applied:

 * robert.collins@canonical.com/soyuz--devel--0--patch-14
   add build target to sourcecode makefile, and have check build first

 * robert.collins@canonical.com/soyuz--devel--0--patch-15
   make build in the soyuz top level should build sourcecode libraries if needed

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>