You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot update public link role when password is required for writable shares #2048
create public link with view role (no password required)
try to change role
Expected behavior
A password dialog should appear prompting the user to set a password
Actual behavior
web issue:
no password dialog so you send Patch request without password and get 400 message: "password protection is enforced"
Screen.Recording.2025-12-17.at.11.33.02.mov
backend issue:
when I send request curl --location --request PATCH 'https://opencloud-server:9200/graph/v1beta1/drives/driveId/items/itemId/permissions/qVomPXGDjTzOHZP' --data '{"link":{"type": "edit"}, "password":"8Ogw=\"sYL-09"} I get 400
Activity
micbar commentedon Dec 17, 2025
@jammin @kulmann
This is the third time we are having this bug. Should we write more tests?
rhafer commentedon Dec 17, 2025
@micbar As @ScharfViktor mentioned it seems that the API spec is wrong (https://docs.opencloud.eu/swagger/libre-graph-api/#/drives.permissions/UpdatePermission).`
It says: "Only the roles, expirationDateTime and password properties can be modified this way."
But the password can only be changed via the
setPasswordendpoint (https://docs.opencloud.eu/swagger/libre-graph-api/#/drives.permissions/SetPermissionPassword)v-scharf commentedon Dec 19, 2025
Not reproducible. Sorry for the noise.