Actually use the namesapce rather than the literal word namespace, doh
This commit is contained in:
parent
18809842b8
commit
e6926b62be
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ def create_repository(namespace, repository):
|
|||
abort(403)
|
||||
|
||||
else:
|
||||
permission = CreateRepositoryPermission('namespace')
|
||||
permission = CreateRepositoryPermission(namespace)
|
||||
if not permission.can():
|
||||
logger.info('Attempt to create a new repo with insufficient perms.')
|
||||
abort(403)
|
||||
|
|
Reference in a new issue