Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent accidental deleting #201

Open
2 tasks done
fbuys opened this issue Jan 27, 2022 · 2 comments
Open
2 tasks done

Prevent accidental deleting #201

fbuys opened this issue Jan 27, 2022 · 2 comments

Comments

@fbuys
Copy link
Contributor

fbuys commented Jan 27, 2022

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

@arielj
Copy link
Contributor

arielj commented Jan 28, 2022

Just a note, archiving a project will prevent any change after this is merged #178.

It also prevents additions though, requiring to un-archive it to add stuff (which may not be bad either, if it's something locked then you have to unlock it to add stuff too)

@fbuys
Copy link
Contributor Author

fbuys commented Feb 8, 2022

Thanks for clarifying @arielj .

It seems a bit like archiving is not really meant to prevent accidental deleting, instead it is a happy coincident.
Perhaps my suggestion is a nice to have.

But I do think there is some value in adding a tool that is purposely added to protect a project and stories.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants