Skip to content
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

[BUG] Navigating to query workbench with no data sources permissions crashes the page #193

Closed
derek-ho opened this issue Oct 31, 2023 · 1 comment
Assignees
Labels
bug Something isn't working untriaged

Comments

@derek-ho
Copy link
Collaborator

What is the bug?
{ "statusCode": 403, "error": "Forbidden", "message": "{\n \"status\": 403,\n \"error\": {\n \"type\": \"OpenSearchSecurityException\",\n \"reason\": \"There was internal problem at backend\",\n \"details\": \"no permissions for [cluster:admin/opensearch/ql/datasources/read] and User [name\\u003dtest, backend_roles\\u003d[], requestedTenant\\u003d__user__]\"\n }\n}" }

How can one reproduce the bug?
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

What is the expected behavior?
A clear and concise description of what you expected to happen.

What is your host/environment?

  • OS: [e.g. iOS]
  • Version [e.g. 22]
  • Plugins

Do you have any screenshots?
If applicable, add screenshots to help explain your problem.

Do you have any additional context?
Add any other context about the problem.

@derek-ho derek-ho added bug Something isn't working untriaged and removed untriaged labels Oct 31, 2023
@derek-ho
Copy link
Collaborator Author

User also needs indices:admin/get on some index (not sure which) in order not to crash the page. Missing permissions should not crash the page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged
Projects
None yet
Development

No branches or pull requests

2 participants