Skip to content
Snippets Groups Projects
Commit d4e25289 authored by Václav Bartoš's avatar Václav Bartoš
Browse files

OSD: map "all_access" role to any authenticated user

We don't use an explicit list of users in OSD, it only takes identification from Keycloak. This change assigns full access to any user. It's probably not the best solution, but the only one I can do quickly, now.
parent 83b91d67
Branches
Tags
No related merge requests found
...@@ -20,9 +20,3 @@ soctools_users: ...@@ -20,9 +20,3 @@ soctools_users:
# email: "soc_admin_2@example.org" # email: "soc_admin_2@example.org"
# DN: "CN=soc_admin_2" # DN: "CN=soc_admin_2"
# 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
...@@ -6,10 +6,7 @@ ...@@ -6,10 +6,7 @@
], ],
"users":[ "users":[
{% for user in OSD_ADMIN_USERS %} "*"
"{{ user }}",
{% endfor %}
"admin"
], ],
"description":"Maps admin to all_access" "description":"Maps any user to all_access role"
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment