annotate bitsyblog/roles.py @ 63:e3c72e2c881e

better error message
author egj@socialplanning.org
date Tue, 02 Feb 2010 18:18:22 +0000
parents 0af1f4ae328d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
59
0af1f4ae328d fix a couple of basic things
egj@socialplanning.org
parents:
diff changeset
1
0af1f4ae328d fix a couple of basic things
egj@socialplanning.org
parents:
diff changeset
2 # who can view which blog posts
0af1f4ae328d fix a couple of basic things
egj@socialplanning.org
parents:
diff changeset
3 roles = { 'public': ( 'public', ),
0af1f4ae328d fix a couple of basic things
egj@socialplanning.org
parents:
diff changeset
4 'friend': ( 'public', 'secret' ),
0af1f4ae328d fix a couple of basic things
egj@socialplanning.org
parents:
diff changeset
5 'author': ( 'public', 'secret', 'private' ), }