Commit Graph
11 Commits
Author SHA1 Message Date
Lukas Hirt 00aeefac3b [tests-only] test: [OCISDEV-861] pin public-link visibility in unfiltered share listings (#12783)
* test: [OCISDEV-861] pin public-link visibility in unfiltered share listings

ListPublicShares issued one gateway Stat per public link not created by the
calling user, which exceeded the request deadline on tenants with thousands of
links. The fix lands in reva; these scenarios pin the user-visible contract so
that any future attempt to replace the permission check cannot silently change
who sees which links.

Adds one OCS scenario, deliberately untagged so it also runs in reva's CI, and
three Graph scenarios covering /me/drive/sharedByMe: a space member sees a
co-member's link, a non-member does not, and a non-member holding ListGrants on
the individual resource does.

Signed-off-by: Lukas Hirt <info@hirt.cz>

* test: cover more space roles and reuse standard user in sharedByMe scenarios

Extends the "space member sees link shares" scenario to cover Space
Editor and Space Viewer in addition to Manager, and swaps Carol for
Brian in the non-member scenarios since Brian is already provisioned
in the feature's Background, dropping a redundant creation step.

Signed-off-by: Lukas Hirt <info@hirt.cz>

---------

Signed-off-by: Lukas Hirt <info@hirt.cz>
2026-08-19 21:28:16 +02:00
Pradip Subedi e4d15f3027 [tests-only][full-ci] test: add spaceId to remoteItem in incoming shares (#12485)
* test(apiSharingNg): add spaceId to remoteItem in incoming shares acceptance tests

* test(apiSharingNg): refactor expected failure file
2026-07-02 15:05:30 +05:45
Niraj Acharya 77ec7d1559 test: run tests on kubernetes with ociswrapper 2025-09-05 12:28:06 +05:45
Julian Koberg c2d1c81aa1 fix(ocis): adjust tests
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2025-06-18 16:22:42 +02:00
Saw-jan 8337b27168 test: skip flaky api test
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-05-16 15:45:03 +05:45
Saw-jan 0dd08944e0 test: check resource creation with share creation
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-05-13 12:13:09 +05:45
Saw-jan 7aab79deba test: fix resource path when using spaces path with Shares space
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

test: remove unwanted changes

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

test: check resources by sharer

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-05-12 13:50:59 +05:45
nabim777 6f375eeba8 test: test for accessing same share received via user and group 2025-05-12 11:59:56 +05:45
Saw-jan c78450cfad test: assert datetime format
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-05-05 14:30:15 +05:45
Prajwol Amatya dec8d2599b add test coverage for sharer listing link share of project space 2025-04-02 16:20:56 +05:45
amrita 7fa8a576ba Split shares related tests 2025-03-31 11:26:13 +05:45