diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-06-17 10:06:13 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-06-17 11:12:35 +0000 |
commit | 54e3fbd49d10b70d04e03a646a494ec29a49ffc3 (patch) | |
tree | e7d955af0c4ea29f032709fe06f208509fccaa99 /share/gitano/skel/gitano-admin/rules/other-project.lace | |
parent | 5b0245acc1b5b1c520db847d70b1b81bafb4d0c2 (diff) | |
download | trove-setup-54e3fbd49d10b70d04e03a646a494ec29a49ffc3.tar.gz |
Move gitano skeleton to /usr/share/trove-setup/
Diffstat (limited to 'share/gitano/skel/gitano-admin/rules/other-project.lace')
-rw-r--r-- | share/gitano/skel/gitano-admin/rules/other-project.lace | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/share/gitano/skel/gitano-admin/rules/other-project.lace b/share/gitano/skel/gitano-admin/rules/other-project.lace new file mode 100644 index 0000000..7bc80cc --- /dev/null +++ b/share/gitano/skel/gitano-admin/rules/other-project.lace @@ -0,0 +1,25 @@ +# _____ +# |_ _| __ _____ _____ +# | || '__/ _ \ \ / / _ \ +# | || | | (_) \ V / __/ +# |_||_| \___/ \_/ \___| +# +# Copyright 2012,2013 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 !is_anonymous + +# 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 + +# Noone can rewind/rebase outside of their personal refs +deny "Non-personal branches may not be rewound/rebased" op_forcedupdate !is_lorry !ref_is_personal + +# 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 + |