summaryrefslogtreecommitdiff
path: root/gitano-admin/rules/createrepo.lace
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-10-10 13:56:28 +0100
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-10-10 13:56:28 +0100
commitcca2006e57081c8a4c2948418d6da9bbc01102bf (patch)
treeab2128cfb0c40c4e8c2b1200cc2fe76bb62f8c52 /gitano-admin/rules/createrepo.lace
parent5569643bfcb9e5c45861dcd40ede14957a7e2ca7 (diff)
downloadtrove-setup-cca2006e57081c8a4c2948418d6da9bbc01102bf.tar.gz
Various tweaks for repository rules
Diffstat (limited to 'gitano-admin/rules/createrepo.lace')
-rw-r--r--gitano-admin/rules/createrepo.lace2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitano-admin/rules/createrepo.lace b/gitano-admin/rules/createrepo.lace
index 27583ae..bf4683e 100644
--- a/gitano-admin/rules/createrepo.lace
+++ b/gitano-admin/rules/createrepo.lace
@@ -17,7 +17,7 @@
allow "Project admins may make project repositories" repo_is_local_project project_admin
# Allow lorry to create repositories anywhere but the local project root
-allow "Lorry may create repositories anywhere but the local root" !repo_is_local_project is_lorry
+allow "Lorry may create lorryable repos" is_lorry lorryable_repo
# Otherwise the default is that non-admins can't create repositories
deny "Repository creation is not permitted."