annotate bitsyblog/roles.py @ 133:ce478807848e default tip

py3
author Jeff Hammel <k0scist@gmail.com>
date Mon, 28 Dec 2020 21:18:19 +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' ), }