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

Add option to know if a secret is being editing #19

Closed
yuki opened this issue Oct 22, 2017 · 0 comments
Closed

Add option to know if a secret is being editing #19

yuki opened this issue Oct 22, 2017 · 0 comments

Comments

@yuki
Copy link
Owner

yuki commented Oct 22, 2017

Because there is no way to know if a secret is being editing, we must create something to control this.

The idea is to “lock” the secret when someone wants to edit it. When someone clicks on “edit” button, we will lock the secret. To lock it, the best way to do it is to have a “locked_secrets” path or a secret where will be saved the secret that are locked.

If a secret is locked, the edit button Wii be disabled and there should be a message saying that the secret is locked by someone.

To unlock the secret, the person that is editing it, must unlock it. How? A button? That when it’s clicked, it closes the editor page... it could works.

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

1 participant