diff --git a/group_vars/all/variables.template b/group_vars/all/variables.template index 203f2f5f571db550c0d08b2746c554b3976f9b8e..0a8e1e635aea00b4649c59922834a3c3aad28138 100644 --- a/group_vars/all/variables.template +++ b/group_vars/all/variables.template @@ -20,9 +20,3 @@ soctools_users: # email: "soc_admin_2@example.org" # DN: "CN=soc_admin_2" # CN: "soc_admin_2" - -# list of users(username) from previous step which will recive admin roles in OpenSearch Dashboards. (Minimum one user is required) -OSD_ADMIN_USERS: - - soc_admin -# - soc_admin_2 - diff --git a/roles/opensearch-dashboards/templates/role.json.j2 b/roles/opensearch-dashboards/templates/role.json.j2 index 1e7c2ae4cc63742e63e2e8b04b78970780b8d47a..105b08cb5ffa7024741b119d1eb499787bee700b 100644 --- a/roles/opensearch-dashboards/templates/role.json.j2 +++ b/roles/opensearch-dashboards/templates/role.json.j2 @@ -6,10 +6,7 @@ ], "users":[ -{% for user in OSD_ADMIN_USERS %} - "{{ user }}", -{% endfor %} - "admin" + "*" ], - "description":"Maps admin to all_access" + "description":"Maps any user to all_access role" }