summaryrefslogtreecommitdiff
path: root/gitano-admin/rules/createrepo.lace
diff options
context:
space:
mode:
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."