diff options
author | fenn-cs <fenn25.fn@gmail.com> | 2023-09-19 11:57:43 +0100 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2023-09-20 16:43:12 +0000 |
commit | 56771b50c45172ddb2bf4e125a7981528fdb4a77 (patch) | |
tree | dfdbdf57f2aee424a813cfe8e49a1f1570523ecb /webpack.modules.js | |
parent | 09794b67922bf9da70fc6207486d1be5a3898e41 (diff) | |
download | nextcloud-server-56771b50c45172ddb2bf4e125a7981528fdb4a77.tar.gz nextcloud-server-56771b50c45172ddb2bf4e125a7981528fdb4a77.zip |
Consider share type for enforced share expiry dates
We have three kind of share expiry date enforcements.
- `isDefaultExpireDateEnforced`
- `isDefaultInternalExpireDateEnforced`
- `isDefaultRemoteExpireDateEnforced`
Before these commit, `isExpiryDateEnforced` that is used to
disable/enable the set expiry date checkbox does not take those into consideration
which is problematic as those have different applications.
In addition, this commit now uses `isExpiryDateEnforced` to disable/enable the input for
expiry date that shows up before the creation of link shares.
Here, `hasExpirationDate` is also removed from 'SharingEntryLink` component as it is
not used.
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'webpack.modules.js')
0 files changed, 0 insertions, 0 deletions