ЛР 7 — БВТ2302 — Макаренко — TLS и управление секретами

This commit is contained in:
2026-12-04 13:41:59 +03:00
parent 20afc2c790
commit 8a3cf7f2dd
55 changed files with 1991 additions and 24 deletions
+5
View File
@@ -0,0 +1,5 @@
REVOKE ALL ON ALL TABLES IN SCHEMA public FROM api, worker;
GRANT SELECT, INSERT ON users, chats, members, messages, attachments TO api;
GRANT SELECT, INSERT, DELETE ON sessions TO api;
GRANT SELECT, INSERT, UPDATE ON login_limits TO api;
GRANT SELECT, UPDATE(doc, attempts) ON attachments TO worker;