Skip to content

Commit

Permalink
change tenant_ prefix to index_
Browse files Browse the repository at this point in the history
  • Loading branch information
byewokko committed Mar 12, 2024
1 parent 89d5e66 commit 6747bb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seacatauth/batman/elasticsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 6747bb4

Please sign in to comment.