We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5527518 commit e16f96cCopy full SHA for e16f96c
packages/backend/src/apps/tiles/actions/create-row/index.ts
@@ -94,8 +94,6 @@ const action: IRawAction = {
94
rowData: { columnId: string; cellValue: string }[]
95
}
96
97
- await TableCollaborator.hasAccess($.user?.id, tableId, 'editor', $)
98
-
99
const table = await TableMetadata.query().findById(tableId)
100
if (!table) {
101
throw new StepError(
@@ -106,6 +104,8 @@ const action: IRawAction = {
106
104
)
107
105
108
+ await TableCollaborator.hasAccess($.user?.id, tableId, 'editor', $)
+
109
/**
110
* convert array to object
111
* [{columnId: 'abc', cellValue: 'test'}] => {abc: 'test'}
0 commit comments