Skip to content
This repository was archived by the owner on Mar 1, 2026. It is now read-only.

Commit 5219cab

Browse files
committed
Merge branch 'feat/field-policy' of https://github.com/zenstackhq/zenstack-v3 into feat/field-policy
2 parents 48a9555 + 035a211 commit 5219cab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/plugins/policy/src/policy-handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ export class PolicyHandler<Schema extends SchemaDef> extends OperationNodeTransf
278278
if (hasFieldLevelPolicies) {
279279
// when a select query involves field-level policies, we build a nested query selecting all fields guarded with:
280280
// CASE WHEN <field policy> THEN <field> ELSE NULL END
281-
// model-level policies is also applied at this nested query level
281+
// model-level policies are also applied at this nested query level
282282

283283
const updatedFroms: OperationNode[] = [];
284284
for (const table of result.from!.froms) {

0 commit comments

Comments
 (0)