summaryrefslogtreecommitdiffstats
path: root/authz.conf
diff options
context:
space:
mode:
Diffstat (limited to 'authz.conf')
-rw-r--r--authz.conf7
1 files changed, 4 insertions, 3 deletions
diff --git a/authz.conf b/authz.conf
index 7881329..f9dfba9 100644
--- a/authz.conf
+++ b/authz.conf
@@ -1,9 +1,10 @@
# git-host access policy.
#
# One file, read by the receive hook on every push and by nothing that serves
-# reads. The deployed copy is mounted read-only - a ConfigMap - so changes are
-# made to the copy in git and rolled out; `git-authz grant` and `revoke` edit a
-# source copy and refuse, with an explanation, when pointed at the read-only one.
+# reads. The deployed copy is mounted read-only - a ConfigMap - on purpose: the
+# hook must not be able to change who can push, and neither must whatever else
+# runs as the git account. Edit the copy in git and roll the ConfigMap that
+# provides it.
#
# <user> <repo> <write|force|admin> [ <ref pattern> ... ]
#