android icon indicating copy to clipboard operation
android copied to clipboard

Prevent enforced password and expiration date removal when editing a share

Open xavi-b opened this issue 1 year ago • 0 comments

⚠️ Before posting ⚠️

  • [X] This is a bug, not a question or an enhancement.
  • [X] I've searched for similar issues and didn't find a duplicate.
  • [X] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • [X] I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

  1. Setup your server to enforce password protection and expiration date on shares
  2. Create a share
  3. Edit a share

Expected behaviour

Based on the capabilities (I guess ?) from the server, we should not be able to remove password protect and expiration date in this view : Screenshot_20240626_085225_Nextcloud

Actual behaviour

Instead we can remove the password but then when sharing we get the expected following error : Screenshot_20240626_092206_Nextcloud Instead we can remove the expiration date but then when sharing we get the expected following error : Screenshot_20240626_092231_Nextcloud

Android version

14

Device brand and model

Samsung S23

Stock or custom OS?

Stock

Nextcloud android app version

3.29.0

Nextcloud server version

26.0.2.43-r

Using a reverse proxy?

No

Android logs

No response

Server error logs

No response

Additional information

No response

xavi-b avatar Jun 26 '24 07:06 xavi-b