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):