Make ROLES_FOR_COMMENT_VOTING a config value

This way we can override it when extending Pillar for other projects that might not require the 'subscriber' or 'demo' roles.
This commit is contained in:
2017-05-28 19:04:11 +02:00
parent 85922f4493
commit add1c8b9b3
2 changed files with 2 additions and 2 deletions

View File

@@ -125,6 +125,7 @@ FILESIZE_LIMIT_BYTES_NONSUBS = 32 * 2 ** 20
# Unless they have one of those roles.
ROLES_FOR_UNLIMITED_UPLOADS = {'subscriber', 'demo', 'admin'}
ROLES_FOR_COMMENT_VOTING = {'subscriber', 'demo'}
#############################################
# Old pillar-web config: