-
-
Couldn't load subscription status.
- Fork 4.6k
Description
In sharing settings of the admin section
- Enable Always ask for a password or Set default expiration date for shares via link or mail
- Then enable password or date ENFORCE
- Disable the initial Always ask for a password or Set default expiration date for shares via link or mail checkbox
The ENFORCE setting is still set to true in the DB. Despite the parent checkbox being disabled
That means we need to check for both checkboxes to really ensure the date or password is enforced
See : #54159
The ENFORCE setting is still set to true in the DB. Despite the parent checkbox being disabled
That means we need to check for both checkboxes to really ensure the date or password is enforced
These new checks solve it on the client side but where are the checks to remove the db from the inconsistent state?
You need add a change that unchecks the sub checkbox when the main is unchecked making sure both requests are sent to the db? (This would fix the original but and the existing fix with be a guardrail)
Originally posted by @nfebe in #54159 (review)