From 6747bb4ed83837a4b912cfbd0179d190c9d47e10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Hru=C5=A1ka?= Date: Tue, 12 Mar 2024 18:09:34 +0100 Subject: [PATCH] change tenant_ prefix to index_ --- seacatauth/batman/elasticsearch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seacatauth/batman/elasticsearch.py b/seacatauth/batman/elasticsearch.py index c3daf292..0a1de85b 100644 --- a/seacatauth/batman/elasticsearch.py +++ b/seacatauth/batman/elasticsearch.py @@ -741,7 +741,7 @@ def section_has_ssl_option(config_section_name): def get_index_access_role_name(tenant: str, privileges: str): assert privileges in {"read", "all"} - return "tenant_{}_{}".format(tenant, privileges) + return "index_{}_{}".format(tenant, privileges) def get_space_access_role_name(tenant: str, privileges: str):