src/cm/fixtures/roles_model.txt
author raph
Fri, 09 Jul 2010 10:05:29 +0200
changeset 287 fc5ed157ebfe
parent 0 40c8f766c9b8
permissions -rw-r--r--
add api: basic auth / unit tests / online doc (based on django-piston)
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