forked from mtusi2026/mtusi2026lab7
lab7: тесты безопасности и перевод своих тестов на HTTPS, документы (trust-matrix, THREAT_MODEL, OPERATOR, DEFENSE, WINDOWS, PR), сборщик доказательств, чистка legacy bench
This commit is contained in:
@@ -38,6 +38,11 @@ GRANT UPDATE ON jobs, attachments TO messenger_jobctl;
|
||||
-- Auditor: read-only checker of the pipeline invariants.
|
||||
GRANT SELECT ON jobs, job_attempts, job_events, outbox, attachments, attachment_variants TO messenger_auditor;
|
||||
|
||||
-- job_events (pipeline audit log, no user data): the failure-injection points of the experiments
|
||||
-- (service.crash_once, FAULT_POINTS) look up their own "fault_injected" marker before crashing, so
|
||||
-- the services that can crash on purpose may read it.
|
||||
GRANT SELECT ON job_events TO messenger_api, messenger_relay, messenger_worker;
|
||||
|
||||
-- Identity columns of outbox/job_events: inserting roles need the sequences.
|
||||
GRANT USAGE ON SEQUENCE outbox_id_seq, job_events_id_seq
|
||||
TO messenger_api, messenger_relay, messenger_worker, messenger_jobctl;
|
||||
|
||||
Reference in New Issue
Block a user