Prevent accidental deleting

Aperta
#201 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
rails, ruby

Direzione di ricerca

L’issue non indica file, test o punti di ingresso. Per prima cosa, stabilisci se il progetto necessita di permessi di eliminazione, archiviazione, soft deletion o di una combinazione di questi, quindi traccia i flussi esistenti di eliminazione dei progetti e delle stories. Il lavoro è completato quando l’approccio selezionato previene o consente di recuperare le eliminazioni accidentali ed è verificato sia per i progetti sia per le stories.

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

Descrizione

Feature Request

https://ombulabs.atlassian.net/browse/DT-251

IMPORTANT: please make sure you ask yourself all intro questions and fill all sections of the template.

Before we start...:

  • I checked the documentation and didn't find this feature
  • I checked to make sure that this feature has not already been requested

Branch/Commit:

main

Describe the feature:

Please include a detailed description of the feature you are requesting and any detail on it’s expected behavior.

As a user
I add a project that I which to use as some sort of template project
And then I add all the stories with descriptions
I don't want anyone to accidentally delete the template project (since it cannot be recovered)
I don't want anyone to accidentally delete a story in my template project (since it cannot be recovered

Problem:

Please include a detailed description of the problem this feature would solve.

As a user
I add a project with stories
So that I can use the project as a template to be cloned for future projects
Now I or anybody on my team can delete the project
And I or anybody on my team can delete stories in the project
There is no way to prevent projects or stories from being deleted
There is no way to recover a project or story after it has been deleted

Ideas:

I see two possible solutions, we can discuss implementing either or both.

  1. A permission scheme that prevents unauthorised deletion.
  2. Prevent deleting all together, use a different mechanism such as archiving or rejecting
  3. Allow soft deleting only so we can recover projects and stories.

I will abide by the code of conduct

Lingua principale
Ruby
Stelle
42
Fork
17
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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 fastruby/points

Tutte le issue di fastruby/points

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.