src/cm/fixtures/roles_model.txt
author Production Moz <dev@sopinspace.com>
Fri, 18 May 2012 00:07:32 +0200
changeset 437 dec07877fd39
parent 0 40c8f766c9b8
permissions -rw-r--r--
Avoids HTTP 403 on login and reset/change password, seehttps://docs.djangoproject.com/en/dev/ref/contrib/csrf/#ref-contrib-csrf.
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