From 5d8001328adc678ef3b9efd9a4a2e234350442f2 Mon Sep 17 00:00:00 2001 From: Richard Ipsum Date: Mon, 23 Mar 2015 08:26:36 +0000 Subject: Make anon read access override project rules Change-Id: Ica0b1412ef402eaf2474288d54f1471f655d31c5 --- share/gitano/skel/gitano-admin/rules/core.lace | 11 ++++++----- 1 file 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 -- cgit v1.2.1