src/cm/fixtures/roles_model.txt
author gibus
Tue, 19 Oct 2010 14:30:19 +0200
changeset 323 addba77f2f90
parent 0 40c8f766c9b8
permissions -rw-r--r--
email_re has moved from django.form.fields to django.core.validators (Django 1.2 alpha 1)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     1
How to create a new set of roles {myroles}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     2
=================================
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     3
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     4
- create a file named roles_{myroles}.yaml in the fixture directory
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     5
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     6
- make sure the role with id=1 is a manager
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     7
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     8
- make sure the role with max id is a single participant with minimum rights
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     9