summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authordev <dev@example>2026-11-13 21:33:11 +0000
committerdev <dev@example>2026-11-13 21:33:11 +0000
commite12fc6e1c14afaab8711c6c9ac695ce911d83df5 (patch)
tree6babed2008b7b8cbeea43bfc39b7031cb647a8bc /README
parent47c9b98ea3fb91833d6d0847fa4345fa23593a97 (diff)
downloadaccess-control-e12fc6e1c14afaab8711c6c9ac695ce911d83df5.tar.gz
access-control-e12fc6e1c14afaab8711c6c9ac695ce911d83df5.zip
README: what grant does with a file that is not there, and one that does not parse
Diffstat (limited to 'README')
-rw-r--r--README4
1 files changed, 4 insertions, 0 deletions
diff --git a/README b/README
index 52b059e..25aea1e 100644
--- a/README
+++ b/README
@@ -178,6 +178,10 @@ operator laid out. `grant` collapses several rules for the same user and
repository into one line, in the place of the first, because the strongest wins
and a second rule that does nothing is a trap for the next reader.
+A file that does not exist yet is started, with the grammar written at the top of
+it; a file that does not parse is refused, because editing something the parser
+cannot read would rewrite the parts that parse and keep the damage.
+
The deployed file is a read-only mount - a ConfigMap - by design: the hook should
not be able to change who can push, and neither should whatever else runs as uid
1000. These commands are for the copy in git. Pointed at a read-only file they