Merge branch 'master' of https://bitbucket.org/yackob03/quay
This commit is contained in:
commit
0009cd5bb1
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ def create_repository(namespace, repository):
|
||||||
abort(403)
|
abort(403)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
permission = CreateRepositoryPermission('namespace')
|
permission = CreateRepositoryPermission(namespace)
|
||||||
if not permission.can():
|
if not permission.can():
|
||||||
logger.info('Attempt to create a new repo with insufficient perms.')
|
logger.info('Attempt to create a new repo with insufficient perms.')
|
||||||
abort(403)
|
abort(403)
|
||||||
|
|
Reference in a new issue