Mercurial > hg > bitsyblog
view bitsyblog/roles.py @ 65:4e41e1084e56
better exception handling, i hope; i hate lost messages
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 13 Apr 2010 13:59:43 -0700 |
parents | 0af1f4ae328d |
children |
line wrap: on
line source
# who can view which blog posts roles = { 'public': ( 'public', ), 'friend': ( 'public', 'secret' ), 'author': ( 'public', 'secret', 'private' ), }