Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

mtg: Editors use deck-local tags

Chiusa
#161 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à
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

Start in the collaborators module and read the existing role and tag tests; the issue names no files or test commands. Trace how deck ownership, editor permissions, and tag assignments are handled, then add coverage for the listed Editor and Viewer cases. Done means the acceptance criteria pass, including deck-local tags behaving as the owner's and global tags remaining read-only to Editors.

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

Descrizione

ready-for-agent

Parent

#155

What to build

Editors group cards with tags while building. An Editor sees all tags on the deck, global ones included. Create, update and delete only work on deck-local tags of this deck; deck-local tags an Editor creates belong to the deck's owner, so they behave like the owner's own. An Editor can assign and unassign deck-local tags on the deck's cards. Global tags and their card-wide assignments stay owner-only, so an Editor's work cannot change how the owner's other decks are tagged.

On the deck page, Editors get the deck-local tag controls; global tags are shown read-only.

Acceptance criteria

  • An Editor sees all tags on the deck, global included
  • An Editor can create, update and delete deck-local tags of this deck, and assign and unassign them
  • A deck-local tag created by an Editor belongs to the owner and behaves like the owner's own tag
  • An Editor is denied creating, changing, deleting, assigning and unassigning global tags, and any deck-local tag of another deck
  • A Viewer is denied every tag write
  • Deck page shows global tags read-only to Editors
  • Tests in the collaborators module
Lingua principale
TypeScript
Stelle
0
Fork
1
Merge medio
10h 20m
PR unite (30g)
36

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 myOmikron/code

Tutte le issue di myOmikron/code

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.