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
If you request a list of realm groups from Keycloak via the API with insufficient permissions (required permissions are undocumented) it will sometimes (exact circumstances also undocumented) return an empty groups list with a 200 OK rather than an error response.
Currently, lagoon-opensearch-sync will assume the empty groups list is valid and proceed to remove all tenants from Opensearch Dashboards. Instead, an empty groups list should be treated as an error response, and the error message from lagoon-opensearch-sync should suggest possible solutions.
If you request a list of realm groups from Keycloak via the API with insufficient permissions (required permissions are undocumented) it will sometimes (exact circumstances also undocumented) return an empty groups list with a 200 OK rather than an error response.
Currently,
lagoon-opensearch-sync
will assume the empty groups list is valid and proceed to remove all tenants from Opensearch Dashboards. Instead, an empty groups list should be treated as an error response, and the error message fromlagoon-opensearch-sync
should suggest possible solutions.Related: #149
The text was updated successfully, but these errors were encountered: