Files
mtusi2026lab7/migrations/0006_worker_attachment_grants.sql

3 lines
156 B
SQL

-- Worker access is intentionally limited to attachment processing state.
GRANT SELECT, INSERT, UPDATE ON attachments, attachment_jobs TO messenger_worker;