annotate bitsyblog/roles.py @ 74:2c219b788648

dont let handlers kill the blog
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 15 Sep 2010 10:34:14 -0700
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' ), }