Files
twenty/packages/twenty-server/test/integration/constants/row-level-permission-predicate-gql-fields.constants.ts
T
Weiko 296a3099db Refactor rls backend simplify add tests (#17357)
## Context
Removing full CRUD to RLS since we are actually using an upsert only
over the role resolver, this removes a lot of unused code (could be
re-added later but unlikely). Simplified the folder arch at the same
time
Add simple integration tests to RLS
2026-01-22 15:44:18 +00:00

23 lines
533 B
TypeScript

export const ROW_LEVEL_PERMISSION_PREDICATE_GQL_FIELDS = `
id
fieldMetadataId
objectMetadataId
operand
value
subFieldName
workspaceMemberFieldMetadataId
workspaceMemberSubFieldName
rowLevelPermissionPredicateGroupId
positionInRowLevelPermissionPredicateGroup
roleId
`;
export const ROW_LEVEL_PERMISSION_PREDICATE_GROUP_GQL_FIELDS = `
id
parentRowLevelPermissionPredicateGroupId
logicalOperator
positionInRowLevelPermissionPredicateGroup
roleId
objectMetadataId
`;