Repository navigation
Commit 3bf405b
committed
test(plugin-security), docs(formula): re-judge the evaluator-face check pin for the lowering refusal
A CEL check comparing against a list is now dropped at compile, so the
forbidden insert is refused with the row-level CHECK envelope
(PERMISSION_DENIED / 403) before the evaluator's INVALID_FILTER / 400 is
reached. The pin keeps its property (the forbidden insert is refused and
nothing is stored) and asserts the envelope it gets at head. Docblock spans
false at head are cut, in the pin and in matches-filter.ts: the claims that
these CEL spellings lower to the refused shapes, that the refusal
propagates out of the check seam, and that the empty-field constraint is
the evaluator's one throw. No code or error-message change in formula.
Claude-Session: https://claude.ai/code/session_01Sfe5YjBLwB9J3y8fvm2xq1
Co-authored-by: Claude <noreply@anthropic.com>1 parent 0af6ee5 commit 3bf405b
2 files changed
Lines changed: 16 additions & 27 deletions
File tree
- packages
- formula/src
- plugins/plugin-security/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
158 | 155 | | |
159 | 156 | | |
160 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | 8 | | |
15 | 9 | | |
16 | 10 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 11 | + | |
| 12 | + | |
21 | 13 | | |
22 | 14 | | |
23 | 15 | | |
| |||
114 | 106 | | |
115 | 107 | | |
116 | 108 | | |
117 | | - | |
| 109 | + | |
118 | 110 | | |
119 | 111 | | |
120 | 112 | | |
121 | 113 | | |
122 | 114 | | |
123 | | - | |
124 | | - | |
| 115 | + | |
| 116 | + | |
125 | 117 | | |
126 | 118 | | |
127 | 119 | | |
| |||
0 commit comments