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
Run acceptance test tests/acceptance/features/apiSharing-v1/createShare.feature:75
It passes
Expected behaviour
Maybe an attempt to make a public share of a file with read and write permissions should fail with some 4nn HTTP status?
Actual behaviour
The test scenario makes a public share of file welcome.txt with all permissions (read, write, reshare...). The public share creation succeeds and the public share actually just has read permission.
GitMate.io thinks possibly related issues are #3949 (File sharing), #3273 (Sharing a single file), #3465 (Sharing files), #5417 (Ghosted shared file), and #20839 (Sharing a file allows you to set create permissions).
Considering that we don't support creating public links for files with read-write permissions as we haven't tested the implications in public link page, we should likely block it on API level for now.
Steps to reproduce
tests/acceptance/features/apiSharing-v1/createShare.feature:75
Expected behaviour
Maybe an attempt to make a public share of a file with read and write permissions should fail with some
4nn
HTTP status?Actual behaviour
The test scenario makes a public share of file
welcome.txt
with all permissions (read, write, reshare...). The public share creation succeeds and the public share actually just has read permission.Server configuration
drone CI or local dev environment
See PR #31495 where the test scenario was added.
The text was updated successfully, but these errors were encountered: