Expiration date limits for reshare of a received share
Example: (today is 2020-02-25)
There is no default expiration date set (i.e. default is "never expire")
Anne shares
folderwith Bob and sets expiration date 2020-03-03Bob shares with Carol and sets expiration date to 2020-03-10 (or clears the expiration date) After 2020-03-03 Bob cannot see the folder, but Carol can see it. That seems odd, since Anne originally only gave Bob access until 2020-03-03, so why can Bob grant Carol longer access.
There is default expiration date set to e.g. 7 days (but not enforced)
Anne shares
folderwith Bob and expiration date defaults to 2020-03-03Bob shares with Carol and sets expiration date to 2020-03-10 (or clears the expiration date) After 2020-03-03 Bob cannot see the folder, but Carol can see it. That seems odd, since Anne originally only gave Bob access until 2020-03-03, so why can Bob grant Carol longer access.
There is default expiration date set to e.g. 7 days and enforced
Anne shares
folderwith Bob and sets expiration date to 2020-02-28 (earlier than the enforced maximum)Bob shares with Carol and sets expiration date to 2020-03-03 (the enforced maximum) After 2020-02-28 Bob cannot see the folder, but Carol can see it. That seems odd, since Anne originally only gave Bob access until 2020-02-28, so why can Bob grant Carol longer access.
IMO when I receive a share that has an expiration date set, and has reshare permission, then I should have to keep and expiration date when I reshare it, and the expiration date of the reshare should be <= the expiration date of the received share. (i.e. I should not be able to grant longer access than the access that I received)
@pmaier1 or... what is the required behaviour?
Source: owncloud/core