ios
ios copied to clipboard
Cannot unset share expiration date if admin has set a default-but-not-enforced expiration date
Steps to reproduce
- Let the admin configure a "default expiration date for shares" under
/settings/admin/sharing, e.g. to 7 days. DO NOT check the box to enforce the default expiration date. - Open the iOS Files app
- Share a file and save the share
- Click on ... > Details to edit the share
- Click on "Set expiration date"
- Click "clear" --> notice how the date is cleared
- Save the share
- Click ... > Details again to view the expiration date
Expected behaviour
The "Set expiration date" field should have no date set.
Actual behaviour
The "Set expiration date" field is set to the admin's default, e.g. 7 days in the future.
Screenshots
n/a
Logs
n/a
Reasoning or why should it be changed/implemented?
It's a bug. If the admin does not enforce it, the user should be able to set no expiration date. That's also how Android and web do it.
Environment data
iOS version: e.g. iPadOS 17.2
Nextcloud iOS app version: 4.9.6.1
Server operating system: Ubuntu
Web server: Apache
Database: MariaDB
PHP version: 8.2
Nextcloud version: 28.0.0