feat(sense): add reconciliation safety controls [T-012]
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
-- Extend the least-privilege boundary to reconciliation and orphan state.
|
||||
|
||||
REVOKE ALL ON TABLE
|
||||
sense.media_path_ownership,
|
||||
sense.operational_leases,
|
||||
sense.orphan_scan_runs,
|
||||
sense.orphan_scan_findings,
|
||||
sense.orphan_cleanup_actions
|
||||
FROM PUBLIC;
|
||||
|
||||
GRANT SELECT, INSERT, UPDATE, DELETE ON TABLE
|
||||
sense.media_path_ownership,
|
||||
sense.operational_leases,
|
||||
sense.orphan_scan_runs,
|
||||
sense.orphan_scan_findings,
|
||||
sense.orphan_cleanup_actions
|
||||
TO sense_app;
|
||||
Reference in New Issue
Block a user