Skip to content

Commit 46ba7f6

Browse files
authored
fix(database): load shared row documents with database context (#488)
* fix(database): load row documents with database context * test(database): cover inherited row document access
1 parent 38e7c31 commit 46ba7f6

11 files changed

Lines changed: 874 additions & 18 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
@database @permissions @issue-8958
2+
Feature: Workspace members can open database row documents
3+
A database row document inherits its access from the database that owns the row.
4+
This must also work when the document exists without a legacy row-document registration.
5+
6+
Scenario: An invited workspace member opens a row document in a public space
7+
Given an invited workspace member has default access to an issue 8958 public database
8+
And the issue 8958 database has a row document without a legacy permission registration
9+
When the invited member opens the issue 8958 database row
10+
Then the invited member can read and edit the issue 8958 row document
11+
12+
Scenario: A private-space member opens a row document in a private space
13+
Given an invited workspace member has edit access to an issue 8958 private database
14+
And the issue 8958 database has a row document without a legacy permission registration
15+
When the invited member opens the issue 8958 database row
16+
Then the invited member can read and edit the issue 8958 row document

0 commit comments

Comments
 (0)