This commit is contained in:
root 2013-11-11 21:30:51 +00:00
commit 0009cd5bb1

View file

@ -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)