feat: import lab 7 security implementation
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# Политика relay и команды replay. Вход — роль relay: identity relay (CN), DNS SAN
|
||||
# relay. Только read пароля своей роли PostgreSQL (брокер — по сертификату, S3 и
|
||||
# Valkey не нужны); metadata/, список, запись и системные пути не выдаются; шаблонов
|
||||
# путей нет, политики default у токена нет.
|
||||
path "messenger/data/postgres/relay" {
|
||||
capabilities = ["read"]
|
||||
}
|
||||
|
||||
path "auth/token/lookup-self" {
|
||||
capabilities = ["read"]
|
||||
}
|
||||
|
||||
path "auth/token/renew-self" {
|
||||
capabilities = ["update"]
|
||||
}
|
||||
|
||||
path "auth/token/revoke-self" {
|
||||
capabilities = ["update"]
|
||||
}
|
||||
Reference in New Issue
Block a user