<!-- Thanks for reporting issues back to Nextcloud! This is the issue tracker of Nextcloud, if you have any support question please check out https://nextcloud.com/support This is the bug tracker for the Server component. Find other components at https://github.com/nextcloud/ For reporting potential security issues please see https://nextcloud.com/security/ To make it possible for us to help you please fill out below information carefully. You can also use the Issue Template application to prefill most of the required information: https://apps.nextcloud.com/apps/issuetemplate --> ### Steps to reproduce 1. As an admin, enforce an expiry date 2. As a user, share a file via public link ### Expected behaviour I should be able to select a custom expiry date which is not beyond what was set by the admin ### Actual behaviour I cannot set my own expiry date