Commit Graph
52 Commits
Author SHA1 Message Date
Sara Ahmadi ccba4a5e49 fix(graph): keep the permissions list query options with $top=0
Assisted-by: Claude Code:claude-opus-5-5
2026-11-17 13:10:40 +01:00
Pascal Bleser 5853b9b598 fix(graph): return the drive id in remoteItem.parentReference.driveId
For received shares, remoteItem.parentReference.driveId held the id of
the root item of the drive (<storage>$<space>!<root>) instead of the id
of the drive (<storage>$<space>), unlike all other drive items. Clients
had to cut off the root part themselves to request /drives/{drive-id}.

Use the drive id for user and OCM shares, and expect it in the
acceptance tests of the shared with me listing.

Fixes #3997

Assisted-by: Claude Code:claude-opus-5-5
2026-11-16 09:33:47 +01:00
Sara Ahmadi cb3a906cb6 Merge pull request #3928 from asaah262/feat/899-get-single-sharing-permission
feat(graph): add GET endpoints for single sharing permissions
2026-11-11 12:14:42 +01:00
Sara Ahmadi 64a1ac8339 feat(graph): add GET endpoints for single sharing permissions
Assisted-by: Claude Code:claude-opus-5-5
2026-11-10 18:18:01 +01:00
Christian Richter 25534bb010 test(acceptance): add missing blank line before scenario in sharedByMe.feature 2026-11-10 14:38:07 +01:00
Roman Perekhod 1e9919f9ae fix: Fix space root handling in a graph sharedByMe
The drive item name was derived from the resource path. Space roots
have no path ("."), so e.g. the sharedByMe response reported "." as
the name of a shared project space. Use the name provided by the
storage provider and fall back to the base of the path if it is empty.

Adjust the sharedByMe acceptance scenario for link shares of a
project space accordingly: the space root item now carries the name of
the space.
2026-11-10 14:16:07 +01:00
micbar 55cd9d3400 test: add acceptance test 2026-10-13 17:07:52 +02:00
Alex Ababii 348890dda2 fix(test): removeAccessToSpace test helper (#3511)
* fix removeAccessToSpace test helper

* fix gherkin link
2026-09-11 11:58:00 +02:00
Viktor Scharf 0a44bbae9e api-test: mark group last-manager removal scenario as flaky (#3194) 2026-07-30 09:50:05 +05:45
Viktor Scharf d9e406ca99 rerun flaky tests (#3183) 2026-07-28 13:44:28 +02:00
Viktor Scharf a2bdbc8b56 api-test: fix removeAccessToDrive.feature:145 (#3179)
* api-test: fix removeAccessToDrive.feature:145

* fix after review
2026-07-28 13:19:26 +02:00
Viktor Scharf f3693ef112 api-test: cover additional unified roles in acceptance tests (#3169) 2026-07-27 09:12:38 +02:00
Viktor Scharf a53eb44083 steps refactoring (#3100) 2026-07-14 09:32:35 +02:00
v.scharf 4536fb20ce adjust tests 2026-04-23 17:07:00 +02:00
Ralf Haferkamp 44bbc07273 tests: Adjust acceptance test for recent Space sharing changes
The `id` property of the `permissions` on a space root does not
longer have that special `u:<userid>` format any. It now has the
same format as the permission id on "normal" driveItems.
2026-04-23 17:07:00 +02:00
Viktor Scharf f04f6ad470 [full-ci] feat: implement OIDC authentication option (#1676)
* feat: implement Bearer Token authentication option

* fix
2025-10-27 11:17:44 +01:00
Viktor Scharf 2fba3c5cdd check thumbnails in the share with me response (#1605)
* check thumbnails in the share with me response

* check preview in report response
2025-10-07 07:43:46 +02:00
Viktor Scharf f8bbc0e0d0 apiTest. listpermissionswithCountFilter (#1010) 2025-06-10 09:28:24 +02:00
Viktor Scharf b11cd0def3 apiTest. select option for root/permissions endpoint (#942) 2025-06-06 08:14:05 +02:00
Ralf Haferkamp 83c9559fe0 fix acceptance tests expectations 2025-06-02 15:17:32 +02:00
Alex 38169e60ae fix: show special roles at the end of the list (#806) 2025-05-10 11:23:01 +02:00
Viktor Scharf f6b5a961da clean up tests 2025-02-11 11:27:05 +01:00
Viktor Scharf 9db4693a9e rebranding tests 2025-01-16 17:39:02 +01:00
prashant-gurung899 3de07b4cda add test to list permissions list of a disabled project space
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-01-08 11:34:12 +05:45
amrita c652cbc604 add tests on list permission with query 2025-01-06 10:11:23 +05:45
Prajwol Amatya 000a4f9fe8 added test to list drives after share has been disabled 2025-01-02 14:26:33 +05:45
Pradip Subedi fad008f676 Merge pull request #10703 from owncloud/test/change-share-role-Denied-to-and-fro
[tests-only][full-ci] Tests for checking share access after changing share role to and from "Denied"
2025-01-01 17:25:27 +05:45
pradip 5383e55612 test: change share role Denied to-and-fro role in Personal and Project space 2024-12-31 12:44:46 +05:45
Prajwol Amatya 0345f21d98 added test to list shares shredWithMe after the share role has been disabled 2024-12-30 11:51:59 +05:45
Prajwol Amatya 48b11e01be added test delete share access from group after the share role has been disabled 2024-12-23 10:40:09 +05:45
Prajwol Amatya 1e6455ca7c added test delete share access after the share role has been disabled 2024-12-19 12:18:51 +05:45
pradip b690313a53 test(refactor): refactor scenarios after fix #10627 2024-12-17 10:09:07 +05:45
pradip 0df60c7a1c test: share with Denied role in Personal and Project space 2024-12-17 10:07:47 +05:45
Prajwol Amatya 706ad82968 added test to list shares shredByMe after the share role has been disabled 2024-12-13 10:05:54 +05:45
Saw-jan 158cede97f test: check file-parent id in shares propfind 2024-12-11 11:25:45 +05:45
Niraj Acharya 89baa049b7 adding test for listing permission of a folder in personal and project space with denied role enabled 2024-12-05 12:44:32 +05:45
Niraj Acharya c98841904d removing without skeleton files string from the user creation steps 2024-12-02 09:12:57 +05:45
Prajwol Amatya 9d6bd35bb5 extend dav paths versions 2024-11-19 13:05:34 +05:45
Prajwol Amatya 33a99d6de3 extend webdav tests for old, new and spaces path 2024-11-19 09:07:45 +05:45
Niraj Acharya 844891abaa adding test for listing permissions with space editor without version role enabled 2024-11-06 09:23:16 +05:45
Niraj Acharya a780da88d1 running secure viewer role with ocis wrapper instead of running ocis with GRAPH_AVAILABLE_ROLES 2024-10-25 11:55:50 +05:45
prashant-gurung899 bc0b2bdb1a add test coverage for sharer being member of shared group
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-10-22 10:49:57 +05:45
Saw-jan c685229c8d test: add test coverage for #9933 2024-10-02 14:51:28 +05:45
Saw-jan 732f2b241e test: rename PROPFIND response check steps
test: fix tests
2024-10-02 13:33:33 +05:45
Saw-jan 08922584bc test: fix PROPFIND shares space tests 2024-10-02 13:33:33 +05:45
Viktor Scharf fec6005458 skip tests 2024-09-30 09:32:09 +02:00
Michael Barz 2c9dab3e7c tests: adapt test expectations 2024-09-13 14:43:13 +02:00
prashant-gurung899 f708de2691 add test to list multiple shares
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-08-13 12:48:56 +05:45
Viktor Scharf eac8fb8649 unhide share 2024-07-29 11:43:05 +02:00
Saw-jan 878c5f4075 test: ensure share is available before performing actions
test: fix expected-failure lines
2024-07-26 15:19:33 +05:45