From fcdc73f5f343b2345c08508de6abb6daf06387f5 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 --- share/gitano/skel/gitano-admin/rules/core.lace | 10 +++++----- 1 file changed, 5 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..c1bffb7 100644 --- a/share/gitano/skel/gitano-admin/rules/core.lace +++ b/share/gitano/skel/gitano-admin/rules/core.lace @@ -35,13 +35,13 @@ 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 +# 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 + # 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