nextcloud / files_lock

GNU Affero General Public License v3.0
25 stars 8 forks source link

Hide options from UI when file is locked #47

Closed thisIsTheFoxe closed 2 years ago

thisIsTheFoxe commented 2 years ago

Hey, While a file is locked it cannot be renamed or deleted, correct? So I think it shouldn't even give the option to do so while the file is locked. Currently a locked file still has "rename" and "delete" options which will not work while the file is locked and show an error as in the screenshot. I think the same approach should be taken for mobile clients..

Tested with Nextcloud: v23.0.0.9 / sqlite3

Screenshot 2022-01-17 at 14 11 39
juliusknorr commented 2 years ago

Lets track this in https://github.com/nextcloud/files_lock/issues/50