Commit 611c199
fix: scope chat access policies to schema-qualified tables
Schema-scoped policies (e.g. marts-only amount redaction) previously matched
bare column names across all schemas and blocked SELECT * globally. Protection
descriptors are now keyed by schema.table, allowed-schema lists are parsed from
policy text and enforced at SQL pre-check, and numeric amount denials respect
the allowed schema scope.
Co-authored-by: Venkat SF <venkatesh.sakamuri@stayflexi.com>1 parent 659394f commit 611c199
4 files changed
Lines changed: 476 additions & 117 deletions
File tree
- backend/src
- main/java/com/dbaagent/service
- test/java/com/dbaagent/service
0 commit comments