At the public catalog endpoint any logged-in user can create, change or delete collections
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start with services/proxy-policy, infra/helm/stac-higher/templates/catalog-config.yaml, and tests/integration/proxy-enforcement.test.mjs; read decision records 0002 and 0015 for the existing collection-write behavior. Add an integration case showing a member's collection write is refused, with operator/admin role and group ownership enforced. If implementation is deferred, record the issue in docs/ISSUES.md; the reported behavior is marked not independently re-verified.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Found in the 2026-11-29 whole-repo review. Reported by a reviewer from the config, two design records and an integration test; not independently re-verified.
Problem
The catalog's auth proxy config (infra/helm/stac-higher/templates/catalog-config.yaml, the private-endpoints list) requires a login for collection writes but no role, and the custom policy plugin (services/proxy-policy) only evaluates item paths. Decision records 0002 and 0015 note that an ordinary member can write collections, and tests/integration/proxy-enforcement.test.mjs pins that behaviour. It is not listed in docs/ISSUES.md.
How it goes wrong
A member of any group calls DELETE /collections/<x> directly on the proxy. This bypasses the app's audit log, its ownership rules, and the clean-up of stored files (which are left orphaned).
Suggested fix
Extend the policy plugin (or add a small middleware) to require the operator/admin role plus group ownership for collection writes. Until then, record it in docs/ISSUES.md.
Acceptance criteria
- Integration test: a member's collection write at the proxy is refused
- Related: #34 (per-collection read visibility at the same proxy)
- Lingua principale
- Python
- Stelle
- 0
- Fork
- 2
- Merge medio
- 8h 26m
- PR unite (30g)
- 47
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di TechTraverse/stac-higher
-
ci
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
TechTraverse/stac-higher#261 ·
I maintainer di solito rispondono entro 1 giorno
-
ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
TechTraverse/stac-higher#258 ·
I maintainer di solito rispondono entro 1 giorno
-
Error messages hide the server's reason: users see only '400 Bad Request'Forse già presa @aman-code-io l’ha presa 3 giorni fa. Apertabug good first issue ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
TechTraverse/stac-higher#232 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
TechTraverse/stac-higher#225 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
TechTraverse/stac-higher#216 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di TechTraverse/stac-higher
Issue simili
-
docs(contributing): the two things that silently block a PRForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaavailable documentation good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 95/100
Nixitov/Riptide-Native#944 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
JTHCode/secretguard#24 ·
I maintainer di solito rispondono entro 1 giorno
-
area: middleware documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
omarelshamy25x/shamy-hijri#63 ·
I maintainer di solito rispondono entro 1 giorno