Sorry if this is super-straightforward. My Search-Fu and AI skills seem to be coming up short on this one. Would post more images of areas affected by the behavior, but I’m a new user ![]()
Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
- OpenSearch 3.6.0 (Bare Metal on VM)
- Dashboards 3.6.0 (Bare Metal on VM)
- Ubuntu Server 24.04 LTS
- Firefox 150.0, Win11
Describe the issue:
Receiving security exceptions “No permissions for and User [name=admin, backend_roles=[admin], requestedTenant=null” for select (but not all) areas of Opensearch Dashboards.
Configuration (in part):
opensearch-security/roles.yml:
------------------------------
# No config for all_access...
opensearch-dashboards.yml:
--------------------------
...
opensearch:
hosts: [https://<opensearch-management-node>:9200]
username: admin
password: <redacted>
requestHeadersAllowlist: [authorization, securitytenant]
ssl:
certificate: <admin client cert>
key: <admin client cert key>
certificateAuthorities: [ "<path to ca cert>" ]
verificationMode: none
...
opensearchDashboards:
...
dashboardAdmin:
groups: ["admin", "dashboard_admin"]
users: ["admin"]
...
opensearch_security:
multitenancy:
enabled: false
tenants:
preferred: [Private, Global]
readonly_mode:
roles: [kibana_read_only]
...
opensearch.yml:
---------------
...
plugins:
security:
ssl:
transport:
keystore_type: PKCS12
keystore_filepath: <relative path to *.p12 file>
keystore_alias: 1
truststore_type: PKCS12
truststore_filepath: <relative path to *.p12 ca store>
... (http config same)
allow_unsafe_democertificates: false
allow_default_init_securityindex: true
authcz.admin_dn:
"<DN of admin client certificate>"
... (other admin user DNs)
...
restapi:
roles_enabled: [all_access, security_rest_api_access]
system_indices:
enabled: true
permission:
enabled: true
### End of Config ###
Relevant Logs or Screenshots:
opensearch-dashboards log:
--------------------------
...
...(200 for url /api/workspaces/_list)
{"type":"log"..."tags":["error","opensearch","data"]..."message":"[security_exception]: no permissions for [] and User [name=admin, backend_roles=[admin], requestedTenant=null]"}
...(200 for url /api/core/capabilities)
<cluster_name>.log (opensearch management node side):
-----------------------------------------------------
...
...[o.o.s.a.BackendRegistry ] [<masternode>-1] No indices:data/read/search permission for user roles [own_index, all_access] to System Indices .opensearch_dashboards_3
...
Workspace Creation:
