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

File lock & unlock capability #3

Open
gorkemcetin opened this issue Sep 30, 2019 · 0 comments

Comments

@gorkemcetin
Copy link
Collaborator

@gorkemcetin gorkemcetin commented Sep 30, 2019

Anyone having read-write access to a file should be able to lock or unlock a file. If a file is locked, then anyone other than the person who locked it, cannot reach that file read-write (but reading in RO is possible).

When a file is locked, it shows a message to the person who locked as:

  • This file has been locked by you, and only you can edit it. Click "Unlock" on the top right menu to unlock it for others.

When a file is opened by someone after locking (other than the person who locked), the following message is shown:

  • This file has been locked by $username, and only this user can edit it. Please get in contact with this user if you nede to edit this file.

A locked file cannot be removed, edited, and its name cannot be changed by other person(s) with an access to it. The name (text edit) widget should be disabled, and file should be in read-only. Also, there is an "eye" icon in the file list for those who cannot reach it (e.g locked).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.