Commit f6e9731
committed
Authorizer: allow REINDEX/ANALYZE (fixes CREATE INDEX denial)
The last failing test, ordinarySQLIsAllowed, ran `CREATE INDEX`. SQLite
reports the index build to the authorizer as SQLITE_REINDEX, which the
default-deny branch rejected -> SQLITE_AUTH. REINDEX and ANALYZE are safe
maintenance operations on the single authorized DB file (and remain
readOnly-gated), so allow them.
https://claude.ai/code/session_01AdvNtQ7wCMVy8etacVQbjg1 parent 090603c commit f6e9731
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
86 | 90 | | |
87 | 91 | | |
88 | 92 | | |
| |||
0 commit comments