diff options
author | Richard Ipsum <richardipsum@fastmail.co.uk> | 2015-03-23 08:26:36 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2015-06-24 16:08:05 +0000 |
commit | 5d8001328adc678ef3b9efd9a4a2e234350442f2 (patch) | |
tree | c3f91495037efe441d99c893b40325db92ecd090 /share/gitano | |
parent | 16de74536e0846ba1d2e5101618df9146c785a41 (diff) | |
download | trove-setup-5d8001328adc678ef3b9efd9a4a2e234350442f2.tar.gz |
Make anon read access override project rules
Change-Id: Ica0b1412ef402eaf2474288d54f1471f655d31c5
Diffstat (limited to 'share/gitano')
-rw-r--r-- | share/gitano/skel/gitano-admin/rules/core.lace | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/share/gitano/skel/gitano-admin/rules/core.lace b/share/gitano/skel/gitano-admin/rules/core.lace index dab7cfb..a806c43 100644 --- a/share/gitano/skel/gitano-admin/rules/core.lace +++ b/share/gitano/skel/gitano-admin/rules/core.lace @@ -35,13 +35,14 @@ include global:renamerepo op_renamerepo # Site-defined rules for repository destruction include global:destroyrepo op_destroyrepo +# If you're running your access control somewhat more openly than most, You can +# uncomment the following and force git:// access to *everything* which is not +# the admin repository, without requiring projects to authorize it +# per-repository. +#allow "Anonymous access is okay" op_read !is_admin_repo + # Site-defined rules for project repositories, including admin of them include global:project # Now the project rules themselves include main - -# If you're running your access control somewhat more openly than most, You can -# now uncomment the following and allow git:// access to *everything* which is -# not the admin repository -# allow "Anonymous access is okay" op_read !is_admin_repo |