]> source.dussan.org Git - nextcloud-server.git/commit
Do not treat `isDefaultExpireDateEnforced` as fallback 40933/head
authorfenn-cs <fenn25.fn@gmail.com>
Fri, 20 Oct 2023 09:34:57 +0000 (10:34 +0100)
committernextcloud-command <nextcloud-command@users.noreply.github.com>
Sun, 22 Oct 2023 16:47:32 +0000 (16:47 +0000)
commit8dfcf2e02a9b9034e3e44c1658e47b699d0b5f27
treef492713a62a114e89ee9c1831b3aff4e1b36cd12
parent46308e96f36486dd9dd55a41c1979d7f6cafacfe
Do not treat `isDefaultExpireDateEnforced` as fallback

`isDefaultExpireDateEnforced` and its corresponding `defaultExpirationDate`
is currently treated as the enforcement fallback when share type enforcements are not
set.

However, `isDefaultExpireDateEnforced` and `defaultExpirationDate` are actually more like
`isDefaultPublicExpireDateEnforced` and `defaultPublicExpirationDate` and therefore only applies
to public shares.

It might be ideal to rename this variables all the way from the backend config to the way we use
them in the frontend code.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
apps/files_sharing/src/mixins/SharesMixin.js
dist/4511-4511.js
dist/4511-4511.js.map
dist/dav-settings-personal-availability.js
dist/dav-settings-personal-availability.js.map
dist/files_sharing-files_sharing_tab.js
dist/files_sharing-files_sharing_tab.js.map