summaryrefslogtreecommitdiff
path: root/gitano-admin/rules/project.lace
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-09-13 16:24:45 +0100
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-09-13 16:24:45 +0100
commitceb0f917bf881a65fb254468ab4c0175d4b88798 (patch)
treefd4f6a8cdcba18f3f496d22ded6e683aff5b8b3b /gitano-admin/rules/project.lace
parentd82ae7b8ea50962f40c7e468242ae207fd628483 (diff)
downloadtrove-setup-ceb0f917bf881a65fb254468ab4c0175d4b88798.tar.gz
Lorry setup
Diffstat (limited to 'gitano-admin/rules/project.lace')
-rw-r--r--gitano-admin/rules/project.lace4
1 files changed, 4 insertions, 0 deletions
diff --git a/gitano-admin/rules/project.lace b/gitano-admin/rules/project.lace
index 3144c64..862b8a3 100644
--- a/gitano-admin/rules/project.lace
+++ b/gitano-admin/rules/project.lace
@@ -11,6 +11,10 @@
# Admins already got allowed, so this is for non-admin users only
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 "Workers may read" op_read !is_admin_repo is_worker
+
# Force /baserock and /delta to always be anon-readable which means git:// will
# work. This is part of the core ruleset for Baserock because /baserock/ and
# /delta/ are always open source.