diff options
author | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2012-09-07 17:02:09 +0100 |
---|---|---|
committer | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2012-09-07 17:02:09 +0100 |
commit | 57f53edd217b06031cfa003c620b553292ebd5e7 (patch) | |
tree | d1ed82e5aff8e771b37071911ca7ad32b24ba0d0 /gitano-admin/rules/other-project.lace | |
parent | fb652434121c382fc622845ec714c2a14f2fde58 (diff) | |
download | trove-setup-57f53edd217b06031cfa003c620b553292ebd5e7.tar.gz |
Update ruleset
Diffstat (limited to 'gitano-admin/rules/other-project.lace')
-rw-r--r-- | gitano-admin/rules/other-project.lace | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gitano-admin/rules/other-project.lace b/gitano-admin/rules/other-project.lace new file mode 100644 index 0000000..ad88098 --- /dev/null +++ b/gitano-admin/rules/other-project.lace @@ -0,0 +1,22 @@ +# _____ +# |_ _| __ _____ _____ +# | || '__/ _ \ \ / / _ \ +# | || | | (_) \ V / __/ +# |_||_| \___/ \_/ \___| +# +# Copyright 2012 Codethink Limited +# +# Rules for any repository not under ##PREFIX## + +# This is, by default, /baserock/ and /delta/ + +# There are two classes of accessors here. Lorry and Others +allow "Anyone may read here" op_read +allow "Anyone may write here" op_write + +# Lorry can do anything reffy which is not inside the local refs +allow "Lorry may touch everything but refs/heads/##PREFIX##" op_is_reffy is_lorry !is_local_ref + +# Everyone else can do reffy things inside refs/heads/##PREFIX## +allow "Project writers may alter any refs" op_is_reffy !is_lorry is_local_ref + |