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.
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.