Declare user roles introduced by Attract

This commit is contained in:
2017-06-15 11:32:05 +02:00
parent bf9a73ff00
commit f4a06c3271

View File

@@ -20,6 +20,8 @@ ROLES_REQUIRED_TO_VIEW_ITEMS = {'demo', 'subscriber', 'admin'}
class AttractExtension(PillarExtension):
has_project_settings = True
user_roles = {'attract-user'}
user_roles_indexable = {'attract-user'}
def __init__(self):
self._log = logging.getLogger('%s.AttractExtension' % __name__)