src/cm/fixtures/roles_model.txt
author gibus
Tue, 11 Mar 2014 11:06:37 +0100
changeset 606 52f3e090eed9
parent 0 40c8f766c9b8
permissions -rw-r--r--
make django tests working again, from ymh, see http://www.iri.centrepompidou.fr/dev/hg/comt/rev/e103299bccc0
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