Open pjrobertson opened 4 years ago
cc @rullzer @jancborchardt does it make sense? It could coincide with the "request access to expired share feature request" (somewhre, can't find it)
Seems reasonable to me, the use-case make sense. It’s a case for "Deleted shares".
@pjrobertson thanks for this, exactly what a client asked me for. He has a lot of shared links with an expiration date. and especially benefit 2 is very helpfull also to extend a shared link.
This would be very useful for our organisation. Sometimes I get tickets because of unaware users complaining "the cloud does not work". If there was a reason exactly why access was denied, this could also reduce the number of tickets for all admins.
+1
is this is planned for some forseable future?
I'm not sure if I've got this 100% right, but it seems like the
XX_share
table in the database is being pruned to remove public links that have 'expired'. I can understand the reasoning for this (reduce the size of theXX_share
table), however the negative usability impact is as follows:The document could not be found on the server. Maybe the share was deleted or has expired?
(or see image below):Super Secret No.1
orSuper Secret No.2
?Solution
I think public links should not be removed from
XX_share
, or if pruning is really necessary, they should be put in aXX_share_expired
table. Following this: a) I can now see expired links in the 'shares' section of my account, and restore links if need be (that would be to alter the expiration date to 'some time in the future' b) We can change the unhelpful messageThe document could not be found on the server. Maybe the share was deleted or has expired?
to something likeAccess to the document you are trying to access has expired
- since we know it's not a 'deleted' issue.Other (potential) benefits:
Person A
for 30 days. Share token is ABCD b) Link expires and token ABCD is removed c) I share another folder withPerson B
. Share token is ABCD d) There's a chance thatPerson A
might access the folderPerson B
by mistake.Server: Nextcloud 16.0.4, running on CentOS/Apache (LAMP)