forked from mtusi2026/mtusi2026lab7
Выполнить лабораторную 7 по безопасности мессенджера
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"users": [{"name": "api", "password_hash": "", "tags": []}, {"name": "worker", "password_hash": "", "tags": []}],
|
||||
"vhosts": [{"name": "/messenger"}],
|
||||
"permissions": [
|
||||
{"user": "api", "vhost": "/messenger", "configure": "^$", "write": "^amq\\.default$", "read": "^$"},
|
||||
{"user": "worker", "vhost": "/messenger", "configure": "^$", "write": "^$", "read": "^attachment-processing-v1$"}
|
||||
],
|
||||
"queues": [
|
||||
{"name": "attachment-processing-v1", "vhost": "/messenger", "durable": true, "auto_delete": false, "arguments": {}}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user