Выполнить лабораторную 7 по безопасности мессенджера

This commit is contained in:
2026-12-04 23:51:24 +03:00
parent 20afc2c790
commit 65bbf3224a
86 changed files with 6376 additions and 144 deletions
+4
View File
@@ -0,0 +1,4 @@
-- 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;