owncloud / android

:phone: The ownCloud Android App
GNU General Public License v2.0
3.81k stars 3.05k forks source link

[BUG] Remove publicUpload from update shares request #3825

Closed jesmrec closed 1 year ago

jesmrec commented 1 year ago

From https://github.com/owncloud/ocis/issues/4111

Steps to reproduce

  1. in oCIS, create a public link over a folder with default permissions
  2. Edit the link, setting permissions to Upload only (file drop)
  3. Save it
  4. Open the link again

Actual behaviour

Permission is Download/View/Upload . This is because sending together publicUpload and permissions in the request leads to some confusion. PUT returns 15 instead of 4

Expected behaviour

Correct level of permissions. By removing publicUpload parameter from the request payload, should be enough (tests will confirm)

Samsung A51, Android12

jesmrec commented 1 year ago

Not reproducible.