You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when doing permission check, it will filter workspace list and verify there at least have 1 workspace user have permission, otherwise it will throw exception.
The bug is that, if we pass an empty array, that will go through this check and throw exception.
Describe the bug
when doing permission check, it will filter workspace list and verify there at least have 1 workspace user have permission, otherwise it will throw exception.
The bug is that, if we pass an empty array, that will go through this check and throw exception.
https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/src/plugins/workspace/server/saved_objects/workspace_saved_objects_client_wrapper.ts#L469-L490
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
OpenSearch Version
main
Dashboards Version
main
Plugins
workspace
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
main
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: