Commit Graph
5 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
Niraj Acharya 77ec7d1559 test: run tests on kubernetes with ociswrapper 2025-09-05 12:28:06 +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