Added subscriber-pro role.
This is used in svnman to bind to the svn-use capability.
This commit is contained in:
@@ -12,6 +12,8 @@ ROLES_TO_BE_SUBSCRIBER = {'demo', 'subscriber', 'admin'} # TODO: get rid of thi
|
|||||||
|
|
||||||
class CloudExtension(PillarExtension):
|
class CloudExtension(PillarExtension):
|
||||||
has_context_processor = True
|
has_context_processor = True
|
||||||
|
user_roles = {'subscriber-pro'}
|
||||||
|
user_roles_indexable = {'subscriber-pro'}
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self._log = logging.getLogger('%s.CloudExtension' % __name__)
|
self._log = logging.getLogger('%s.CloudExtension' % __name__)
|
||||||
|
Reference in New Issue
Block a user