Skip to content

Conversation

@nfebe
Copy link
Contributor

@nfebe nfebe commented Oct 15, 2023

Previously, users could change the share expiry date up to the enforced maximum.

The new share flow imposed the enforced share expiry date maximum literally and did not allow even dates lower than the maximum enforced.

That does not make much sense, if the enforced expiry date is 30 days from creation date, then it's logical to allow users set the date to anything less than 30 days from the creation date.

Resolves : No github issue

@nfebe nfebe added 3. to review Waiting for reviews feature: sharing labels Oct 15, 2023
@nfebe nfebe added this to the Nextcloud 27.1.4 milestone Oct 15, 2023
@nfebe nfebe force-pushed the allow-expiry-dates-less-than-enforced-limit branch from b24b3aa to 39c8762 Compare October 15, 2023 21:15
Previously, users could change the share expiry date up
to the enforced maximum.

The new share flow imposed the enforced share expiry
date maximum literally and did not allow even dates
lower than the maximum enforced.

That does not make much sense, if the enforced expiry date is 30
days from creation date, then it's logical to allow users set the
date to anything less than 30 days from the creation date.

Signed-off-by: fenn-cs <[email protected]>
@nfebe nfebe force-pushed the allow-expiry-dates-less-than-enforced-limit branch from 39c8762 to 9757e68 Compare October 16, 2023 06:06
@nfebe nfebe enabled auto-merge October 16, 2023 09:20
@nfebe nfebe merged commit c932c94 into master Oct 16, 2023
@nfebe nfebe deleted the allow-expiry-dates-less-than-enforced-limit branch October 16, 2023 10:37
@come-nc
Copy link
Contributor

come-nc commented Oct 16, 2023

I tested and I confirm #40928 (review) , this change breaks default date handling for remote and public shares, the default date is use there as a maximum even if enforced checkbox is not checked for those types of shares.
For remote shares it also seem to not even be used as default value.

@nfebe
Copy link
Contributor Author

nfebe commented Oct 16, 2023

@come-nc nice catch : #40933

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants