@@ -18,19 +18,26 @@ Feature: Group content access
1818 When Document are added to the database:
1919 | $id | source_local_id | created | last_modified | _author_id | _space_id |
2020 | d1 | ld1 | 2025 /01 /01 | 2025 /01 /01 | user1 | s1 |
21+ | d2 | ld2 | 2025 /01 /01 | 2025 /01 /01 | user1 | s1 |
2122 And Content are added to the database:
22- | $id | source_local_id | _document_id | text | created | last_modified | scale | _author_id | _space_id |
23- | ct1 | lct1 | d1 | Claim | 2025 /01 /01 | 2025 /01 /01 | document | user1 | s1 |
23+ | $id | source_local_id | _document_id | text | created | last_modified | scale | _author_id | _space_id |
24+ | ct1 | lct1 | d1 | Claim 1 | 2025 /01 /01 | 2025 /01 /01 | document | user1 | s1 |
25+ | ct2 | lct2 | d2 | Claim 2 | 2025 /01 /01 | 2025 /01 /01 | document | user1 | s1 |
2426 Then a user logged in space s1 should see 2 PlatformAccount in the database
25- And a user logged in space s1 should see 1 Content in the database
27+ And a user logged in space s1 should see 2 Content in the database
2628 And a user logged in space s2 should see 2 PlatformAccount in the database
2729 But a user logged in space s2 should see 0 Content in the database
2830 When user of space s1 creates group my_group
2931 And user of space s1 adds space s2 to group my_group
30- Then a user logged in space s1 should see 1 Content in the database
32+ Then a user logged in space s1 should see 2 Content in the database
3133 But a user logged in space s2 should see 0 Content in the database
34+ And a user logged in space s2 should see 1 Space in the database
3235 And ResourceAccess are added to the database:
3336 | _account_uid | _space_id | source_local_id |
3437 | my_group | s1 | lct1 |
35- Then a user logged in space s1 should see 1 Content in the database
38+ And SpaceAccess are added to the database:
39+ | _account_uid | _space_id | permissions |
40+ | my_group | s1 | partial |
41+ Then a user logged in space s1 should see 2 Content in the database
3642 Then a user logged in space s2 should see 1 Content in the database
43+ And a user logged in space s2 should see 2 Space in the database
0 commit comments