Hi all,
This should be my last FBR for now, as with this I tested everything in staging, and I
believe it works there (SSH pull/push and HTTPS pull, we don't have HTTPS push for
pagure.io (yet)).
This basically sets the username for anonymous access to something that would never be a
valid user for FAS.
Patrick
commit b89814426a0565219684336952a823178b973619 (HEAD -> master)
Author: Patrick Uiterwijk <patrick(a)puiterwijk.org>
Date: Fri Oct 12 11:51:57 2018 +0200
Enable anon user for prod Pagure
Signed-off-by: Patrick Uiterwijk <patrick(a)puiterwijk.org>
diff --git a/roles/pagure/frontend/templates/gitolite.rc
b/roles/pagure/frontend/templates/gitolite.rc
index 41c0b3f1f..77eb32b3e 100644
--- a/roles/pagure/frontend/templates/gitolite.rc
+++ b/roles/pagure/frontend/templates/gitolite.rc
@@ -15,9 +15,8 @@
%RC = (
# ------------------------------------------------------------------
-{% if env == "pagure-staging" %}
HTTP_ANON_USER => 'ANONYMOUS_',
-{% endif %}
+
# default umask gives you perms of '0700'; see the rc file docs for
# how/why you might change this
UMASK => 0077,
Show replies by date