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
Q: What should be the status code while moving between cross-spaces with Viewer role?
Currently, most cases return 403 which seems reasonable (because viewer role is not permitted to do so).
But MOVE to/from shares space returns 502 regardless of the role.
Should they return 502 as mentioned in #8063 (comment) or 403 is the correct one for Viewer role.
Here are test cases:
❗ Using path
from
to
result
project (manager/editor)
project (viewer)
403 ❓
project (viewer)
project (manager/editor/viewer)
403 ❓
project (viewer)
personal
403 ❓
personal
project (viewer)
403 ❓
❗ Using file-id
from
to
result
project (manager/editor)
project (viewer)
403 ❓
project (viewer)
project (manager/editor/viewer)
403 ❓
project (viewer)
personal
403 ❓
personal
project (viewer)
403 ❓
shares (read)
personal
403 ❓
shares (read)
project (manager/editor/viewer)
403 ❓
shares (editor/uploader)
project (viewer)
403 ❓
✔️ Working as expected
from
to
result
project (viewer)
shares (all/change/read)
502 👍
personal
shares (read)
502 👍
shares (read)
personal
502 👍
shares (read)
project (manager/editor/viewer)
502 👍
shares (read)
shares (all/change/read)
502 👍
The text was updated successfully, but these errors were encountered:
403 seems correct for viewer role but MOVE from/to Shares space returns 502 so that's confusing.
If 502 is expected for shares space then we can close this one
Q: What should be the status code while moving between cross-spaces with Viewer role?
Currently, most cases return
403
which seems reasonable (because viewer role is not permitted to do so).But MOVE to/from shares space returns
502
regardless of the role.Should they return
502
as mentioned in #8063 (comment) or403
is the correct one for Viewer role.Here are test cases:
✔️ Working as expected
The text was updated successfully, but these errors were encountered: