-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getPatternList error with read-only users in a particular tenant #7100
Comments
{
username: 'user-ro',
credentials: {
authHeaderValue: 'Basic dXNlci1ybzomVXFZSiZCJkhGM0pkWkt6NzR5c3hjJFdmUiRmc1BjOA=='
},
authType: 'basicauth',
isAnonymousAuth: false,
expiryTime: 1732046561826,
tenant: 'test_tenant'
}
A 403 error is captured even though the browser shows that all requests were successful with a statusCode of 200. Peek.2024-11-19.16-46.mp4 |
Description
Some requests to the endpoint
api/saved_objects/_find?type=index-pattern&fields=title&fields=fields&per_page=9999
fail with the error:This happens to users that have read-only permissions to a specific tenant, like in the following configuration:
Details
In
opensearch_dashboards.yml
enable multi-tenancy:opensearch_security.multitenancy.enabled: true
Create a new read-only user with permissions in a particular tenant
Load a dashboard (or any view with visualizations) and check the browser dev-tools for security exceptions:
The text was updated successfully, but these errors were encountered: