When in the settings a value for "Set default expiry date" is set and "Enforce expiry date" unchecked, there is no hint at creating a link share that an expiration date will be set.
The user thinks that the link share will be valid forever but when clicking on "Customize link" he sees that a expiration date was set automatically.
Steps to reproduce
Configure the Sharing settings like this
[x] Allow users to share via link and emails
[x] Allow public uploads
[x] Always ask for a password
[x] Enforce password protection
[x] Set default expiry date -> Expire after 30 day(s)
[ ] Enforce expiry date
Create a link share.
Click on "Customize link" and see that there was set an expiration date.
Expected behavior
It should be like when the option "Enforce expiry date" is enabled, that the user sees in the pop-up when creating the link share that an expiration date is set.
He should be able to change the date or completely uncheck the option.
Or at least a notice should be displayed that an expiry date is set and that it can then be adjusted afterwards.
⚠️ This issue respects the following points: ⚠️
Bug description
When in the settings a value for "Set default expiry date" is set and "Enforce expiry date" unchecked, there is no hint at creating a link share that an expiration date will be set. The user thinks that the link share will be valid forever but when clicking on "Customize link" he sees that a expiration date was set automatically.![grafik](https://github.com/nextcloud/server/assets/142410285/30c38de2-f9c4-4e3f-afe8-a5117d4e67a7)
Steps to reproduce
Expected behavior
It should be like when the option "Enforce expiry date" is enabled, that the user sees in the pop-up when creating the link share that an expiration date is set. He should be able to change the date or completely uncheck the option.![grafik](https://github.com/nextcloud/server/assets/142410285/7d5c865e-4047-420f-8542-11049adeb2e6)
Or at least a notice should be displayed that an expiry date is set and that it can then be adjusted afterwards.
Nextcloud Server version
27.1.7 28.0.3