A consumer's ACL user was scoped to ~<login>:* with +@all. A key pattern confines only commands that name keys, so FLUSHALL, FLUSHDB, CONFIG, SHUTDOWN were all allowed: a consumer granted its own keys could wipe every other consumer's. Now +@all -@dangerous. KEYS goes with the category; SCAN stays.
Found by the grant end-to-end bed's new tenancy assertions (carried from the large bed's retired cache-grant test). Proof: mesh-grant-end-to-end 1/1 with the redis runtime rebuilt from 421f4d8 — a write outside the login's keys and FLUSHALL are refused, a write under it succeeds. Companion MRs on multiple-fixes: mesh-controller, mesh-lab, hq.
- A consumer's ACL user was scoped to `~<login>:*` with `+@all`. A key pattern confines only commands that name keys, so `FLUSHALL`, `FLUSHDB`, `CONFIG`, `SHUTDOWN` were all allowed: a consumer granted its own keys could wipe every other consumer's. Now `+@all -@dangerous`. `KEYS` goes with the category; `SCAN` stays.
Found by the grant end-to-end bed's new tenancy assertions (carried from the large bed's retired cache-grant test). Proof: mesh-grant-end-to-end 1/1 with the redis runtime rebuilt from 421f4d8 — a write outside the login's keys and FLUSHALL are refused, a write under it succeeds. Companion MRs on `multiple-fixes`: mesh-controller, mesh-lab, hq.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
~<login>:*with+@all. A key pattern confines only commands that name keys, soFLUSHALL,FLUSHDB,CONFIG,SHUTDOWNwere all allowed: a consumer granted its own keys could wipe every other consumer's. Now+@all -@dangerous.KEYSgoes with the category;SCANstays.Found by the grant end-to-end bed's new tenancy assertions (carried from the large bed's retired cache-grant test). Proof: mesh-grant-end-to-end 1/1 with the redis runtime rebuilt from
421f4d8— a write outside the login's keys and FLUSHALL are refused, a write under it succeeds. Companion MRs onmultiple-fixes: mesh-controller, mesh-lab, hq.