summaryrefslogtreecommitdiff
path: root/gitano-admin/rules/project.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/project.lace
parent5569643bfcb9e5c45861dcd40ede14957a7e2ca7 (diff)
downloadtrove-setup-cca2006e57081c8a4c2948418d6da9bbc01102bf.tar.gz
Various tweaks for repository rules
Diffstat (limited to 'gitano-admin/rules/project.lace')
-rw-r--r--gitano-admin/rules/project.lace4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitano-admin/rules/project.lace b/gitano-admin/rules/project.lace
index 862b8a3..aa5e1e2 100644
--- a/gitano-admin/rules/project.lace
+++ b/gitano-admin/rules/project.lace
@@ -12,7 +12,7 @@
allow "Owners can always read and write" op_is_basic is_owner repo_is_personal
# Any non-gitano-admin repo is readable to the lorry user and the worker group
-allow "Lorry may read" op_read !is_admin_repo is_lorry
+allow "Lorry may read" op_read is_lorry lorryable_repo
allow "Workers may read" op_read !is_admin_repo is_worker
# Force /baserock and /delta to always be anon-readable which means git:// will
@@ -35,4 +35,4 @@ include global:adminchecks is_admin_ref
allow "Owners can create refs" op_is_reffy is_owner repo_is_personal
include global:trove-project repo_is_local_project
-include global:other-project !repo_is_personal !repo_is_local_project !is_admin_repo
+include global:other-project lorryable_repo