nextcloud / files_lock

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

Admin needs to unlock files #52

Open tobiasKaminsky opened 2 years ago

tobiasKaminsky commented 2 years ago
juliushaertl commented 2 years ago

UI wise a list of file ids is not very nice, so I would say we just have an input for the file id, if showing paths is not feasible for privacy reasons.

This is currently already possible through occ:

occ files:lock -u 123 admin
tobiasKaminsky commented 2 years ago

I am fine with this, as this should not often needed. cc @AndyScherzinger @jancborchardt

AndyScherzinger commented 2 years ago

UX question, so I am very interested in @jancborchardt's view on this.

juliushaertl commented 2 years ago

Some additional thoughts: Unlocking files in larger teams is likely something that should rather be possible by specific people, like a team lead who has access to the file anyways e.g. through sharing but also with groupfolders.

I could imagine that we just add a force unlock method for:

Might be much more useful than a real admin UI to enter the file id (which is something that an occ command can already do).

AndyScherzinger commented 2 years ago

I like the sketched out approach and agree this being an easier to use and apply solution also from a customer's organization perspective

juliushaertl commented 8 months ago

@jancborchardt Frontend wise shall we just make this the same unlock menu entry or an additional one e.g. saying "Force unlock"?

jancborchardt commented 8 months ago

@juliushaertl for simplicity it's best to do the same entry, yep.