Files
mtusi2026lab7/migrations/007_application_grants.sql
T
koichakaev 65bbf3224a
Application HTTPS smoke / smoke (pull_request) Blocked by required conditions
Skeleton contracts / contracts (pull_request) Blocked by required conditions
Выполнить лабораторную 7 по безопасности мессенджера
2026-12-04 23:51:24 +03:00

5 lines
293 B
SQL

-- The API replaces expired idempotency records under a transaction-scoped lock.
GRANT DELETE ON idempotency_keys TO messenger_api;
-- The outbox path and worker append records using the audit table's sequence.
GRANT USAGE ON SEQUENCE pipeline_audit_id_seq TO messenger_api, messenger_worker;