User buckets: quickly get feedback if your bucket permissions are not set up correctly

Aperta
#3,111 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
aws, python
Ambito
api, backend, cloud

Direzione di ricerca

Start by reading the API code that handles job submission with a user-bucket and the context around #3108; the issue does not name specific files or tests. Investigate whether AWS policy simulation can check the relevant bucket permissions programmatically and how it handles each role. Done means users get immediate, accurate feedback when their bucket permissions are incorrect.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Right now, the best way to ensure the user-bucket permissions have been set up correctly is to run a job and see it succeed.

However, even our fastest jobs take minutes to run and in a busy deployment it could take hours for the job to work through the queue.

It would be nice to provide a /check-bucket/{bucket_name} endpoint which would check the permissions and provide immediate feedback, or potentially even check this in the API every time a job is submitted with user-bucket specified.

However, with #3108, it would be hard to check each role (I think?). Would something like the policy simulator work and can we hit it programmatically?

Lingua principale
Python
Stelle
53
Fork
13
Merge medio
1g 2h
PR unite (30g)
20

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ASFHyP3/hyp3

Tutte le issue di ASFHyP3/hyp3

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.