Add sanity checks for groups with no users, or groups missing the creator in its list of users.

Aperta
#1,631 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
62/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Tranquilla
Stack tecnologico
ruby
Ambito
backend

Direzione di ricerca

Start by finding the sanity checker rake task in the CBRAIN codebase and reading how it iterates over existing checks. The issue names the groups' creator_id and their user_ids list as the two fields to compare. Add a check that re-adds the creator to the list when it is missing, then confirm by running the rake task against a group whose creator is absent from its users.

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

Descrizione

Admin Priority: Low Rails

I don't think we've been strict enough in the convention that all groups mus include the creator of the group in the list of member users. Looking at the CBRAIN service I see sometimes this happens, and I'd like a sanity check procedure (in the sanity checker rake task) that just adds back the creator_id to the list of user_ids.

Lingua principale
Ruby
Stelle
82
Fork
64
Merge medio
6g 13h
PR unite (30g)
36

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 aces/cbrain

Tutte le issue di aces/cbrain

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.