Development record
site setup reads an environment's deployment branch policies with per_page=100 and no pagination (forge.go:112), so a broad branch rule past the 100th policy is invisible to the restriction check and the environment can read as restricted when it is not. Reaching it needs an admin who already put over 100 rules on one environment; the environments and secrets reads at :84 and :145 share the shape.
issueresolvedminoriss-2609260927217168
site setup reads an environment's deployment branch policies with per_page=100 and no pagination (forge.go:112), so a broad branch rule past the 100th policy is invisible to the restriction check and the environment can read as restricted when it is not. Reaching it needs an admin who already put over 100 rules on one environment; the environments and secrets reads at :84 and :145 share the shape.
Grounds
- pursued: setup sees an environment, policy or secret past the hundredth and never rewrites an existing environment it could not see; a list read that returns fewer entries than the forge's total without an error would show it wrong
Frontmatter
| id | iss-2609260927217168 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | minor |
.abcd/work/issues/resolved/iss-2609260927217168-site-setup-policy-read-unpaginated.md
open on GitHub ↗ · commit history ↗