Commit Graph

42 Commits

Author SHA1 Message Date
Ralf Haferkamp
c6d28caa31 refactor(graph): move "Invite" to new drive item permissions service
This introduces the new DriveItemPermissionsService and DriveItemPermissionsApi to
allow for better separation of the business logic and the API handling.

As a starting point the Invite method was moved to the new service. More to follow.
2024-04-04 16:17:59 +02:00
Viktor Scharf
79c74711c4 [full-ci] Delete resharing tests (#8704)
* feat: disable resharing by default

delete re-sharing tests

* fix tests

---------

Co-authored-by: Michael Barz <mbarz@owncloud.com>
2024-03-27 10:30:25 +01:00
nirajacharya2
208b25c7ed adding tests for sending a share invitation to a user on virtual drive (#8705) 2024-03-22 17:28:46 +05:45
nirajacharya2
cca9e33e37 adding test for sharing personal space with user (#8511) 2024-03-20 16:40:04 +05:45
Prarup Gurung
05dc4155c2 Used kebab case for example table header name 2024-03-19 15:44:54 +05:45
Ralf Haferkamp
8fdfa1aee7 enhancement(graph): Remove unneded Coowner Role
This role was renamed to "Manager" a while ago.
2024-03-18 11:53:57 +01:00
Sawjan Gurung
3cea035d6d [tests-only] use new json schema assertion lib that supports latest schema drafts (#8503)
* test(api): use new json schema assertion lib that supports latest schema drafts

* test(api): fix json schema

* test(api): fix method call

* test(api): update expected failure lines

* test(api): add custom schema validator

* test(api): add custom schema validator

* test(api): add custom schema validator

* test(api): add custom schema validator

* test(api): make json array validation strict

* test(api): fix php code style

* test(api): update expected failure lines
2024-02-23 16:24:22 +05:45
Sabin Panta
1eb063e676 removed datatable for resource type row (#8369) 2024-02-06 13:04:04 +05:45
Prarup Gurung
40438ef1a7 Added more test coverage for invalid roles 2024-02-02 14:30:07 +05:45
Prarup Gurung
fbe1b4288b [tests-only] Add test to share resource inside of space (#8327)
* Added test to send share invitation with user for resource inside of project space

* Added test to send share invitation with group for resource inside of project space

* Addressed reviews
2024-02-01 16:40:45 +05:45
Prarup Gurung
e42e0c2d6f Added test to send share invitation with group for deleted file 2024-02-01 14:43:05 +05:45
Prarup Gurung
743364403b Added test to send share invitation with user for deleted file 2024-02-01 14:43:04 +05:45
Prajwol Amatya
907a2d9c58 added test to share project space to a group (#8328) 2024-01-31 18:06:16 +05:45
Prajwol Amatya
95b6190ff0 [tests-only][full-ci] added test to share a disabled project space (#8319)
* added test to share a disabled project space

* added test to share deleted project space
2024-01-31 16:26:29 +05:45
Prajwol Amatya
b71cdd7004 added test to share space with different roles (#8304) 2024-01-30 13:57:03 +05:45
Prarup Gurung
0dc410ef16 Added test for sending share invitation to user already received share 2024-01-29 16:41:55 +05:45
Prajwol Amatya
33360327c0 added test to share a resource with invalid roles (#8302) 2024-01-29 12:51:48 +05:45
Prarup Gurung
6cf8546bf8 Added test for sending share invitation with empty sharetype (#8137) 2024-01-26 12:12:42 +05:45
Prarup Gurung
b8d1a278c6 Added test for sending share invitation with wrong sharetype 2024-01-26 09:49:58 +05:45
Prarup Gurung
3ecf2e56ca Added test for sending share invitation to empty user id 2024-01-25 17:11:12 +05:45
Prarup Gurung
c93783897f Addressed reviews 2024-01-25 14:17:09 +05:45
Prarup Gurung
2675e739b2 Added test for sending share invitation to wrong objectId 2024-01-25 14:13:46 +05:45
Ralf Haferkamp
c7943f014b graph/sharing: Adjust acceptance tests for latest changes
Don't try to assign space specific roles to file or directory shares in
positive tests. The API now forbids those correctly. We might want
to add negative tests for that.
2024-01-24 17:03:00 +01:00
Prajwol Amatya
4447ead4d0 added test to share resource to an already shared group (#8181) 2024-01-24 14:17:38 +05:45
Prajwol Amatya
2d203775a9 added test to send share invitation to unknown group (#8175) 2024-01-24 12:13:54 +05:45
Michael Barz
17b14ee786 Merge pull request #8264 from owncloud/dragonchaser/bump-reva
[full-ci] Continuation of Dragonchaser/bump reva
2024-01-23 09:57:53 +01:00
Saw-jan
ca2b5744a1 fix test expectations 2024-01-23 12:19:31 +05:45
Saw-jan
9cb81073c1 fix test expectations 2024-01-23 12:18:19 +05:45
Prarup Gurung
f7599b3fc8 Added step to check as sharee for share invitation to group 2024-01-23 11:13:44 +05:45
Prarup Gurung
0312e72bd2 Addressed reviews 2024-01-23 11:07:51 +05:45
Prarup Gurung
f08a9ae0d9 Added test for sending share invitation to normal user 2024-01-23 11:07:51 +05:45
Prajwol Amatya
2253096609 added test to send share invitation to user and group at once (#8168) 2024-01-16 09:07:59 +05:45
Prajwol Amatya
2424525a58 added test to send share invitation to multiple groups at once (#8167) 2024-01-15 11:53:08 +05:45
Prarup Gurung
c3716d1039 Added test for sending share invitation to deleted user 2024-01-11 16:25:27 +05:45
Prarup Gurung
d69a916c12 Added test for sending share invitation to disabled user (#8174) 2024-01-11 11:31:55 +05:45
Prajwol Amatya
d2635cc4df added test to send share invitation to a deleted group (#8166) 2024-01-10 13:56:02 +01:00
Viktor Scharf
ec37788829 change naming in test (#8140) 2024-01-08 23:41:31 +01:00
Prarup Gurung
095578b717 [full-ci] [tests-only] Forward port of PR #8092 (#8095)
* Added test for sending share invitation to user with expiration

* Added test for sending share invitation to group with expiration
2024-01-01 17:19:15 +05:45
Prarup Gurung
ed221b925a Added test for sending share invitation to group with permissions 2023-12-28 10:09:02 +05:45
Prarup Gurung
e7cf24e486 Added test for sending share invitation to user with permissions 2023-12-28 08:21:00 +05:45
Prarup Gurung
1b0e499b9b Added test for sending share invitation to group with role (#8009) 2023-12-21 10:37:58 +05:45
Prarup Gurung
87d3762381 Added test for sending share invitation to user with role 2023-12-19 16:57:09 +05:45