Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow share expiry dates lower than enforced limits #40927

Merged
merged 1 commit into from Oct 16, 2023

Conversation

Fenn-CS
Copy link
Contributor

@Fenn-CS Fenn-CS 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

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 <fenn25.fn@gmail.com>
@Fenn-CS Fenn-CS force-pushed the allow-expiry-dates-less-than-enforced-limit branch from 39c8762 to 9757e68 Compare October 16, 2023 06:06
@Fenn-CS Fenn-CS merged commit c932c94 into master Oct 16, 2023
42 checks passed
@Fenn-CS Fenn-CS 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.

@Fenn-CS
Copy link
Contributor Author

Fenn-CS 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.

None yet

5 participants