temporal
temporal copied to clipboard
Include GetWorkflowExecutionHistoryReverse API to readOnlyNamespaceAPI for defaultAuthorizer
Expected Behavior
GetWorkflowExecutionHistoryReverse should be included to readOnlyNamespaceAPI in frontend_api.go
Actual Behavior
GetWorkflowExecutionHistoryReverse is not included
Steps to Reproduce the Problem
- Enable default authorizer and claim mapper and start Temporal
- Start new Temporal UI with enabled auth (via OpenID Connect)
- Configure your IDP to include "permissions": ["system:read"] claim to your access token.
- Open Temporal UI and try to navigate to any workflow details. Actual: the UI shows an error and then redirects the user to the login screen. The root cause is that the UI tries to use the GetWorkflowExecutionHistoryReverse API but the default authorizer rejects this request because this API is not included into the readonlyNamespaceAPI map (and the permissions claim is system:read)
Specifications
- Version: Temporal Server 1.17.5, Temporal UI 2.5.1
- Platform:
It looks like this was already fixed by https://github.com/temporalio/temporal/commit/c5ccbd5963bc280163eff2aed798b2e060b8334c . I think if you upgrade your server version to the latest, this shouldn't be an issue anymore. Could you try that? @ddavidyuk
This should already be fixed.