annotate bitsyblog/roles.py @ 124:ff6ce18cb0be

py3
author Jeff Hammel <k0scist@gmail.com>
date Tue, 03 Nov 2020 14:54:01 -0800
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' ), }