Instance Settings page requesting httpToken list when not enabled for team #4382
Labels
area:frontend
For any issues that require work in the frontend/UI
bug
Something isn't working
size:XS - 1
Sizing estimation point
Milestone
The Instance Settings Security page will show a list of HTTP Access Tokens if the FF User Auth option is enabled.
That option is gated on both the platform feature flag and the team type feature flag.
However the request to load the instance tokens is only gated by the platform feature flag.
So when a Starter team accesses that page, even though the option is disabled, we're still making a request to load the tokens under the covers. This correctly returns a 404 which throws an unhandled error under the covers.
There is no impact to the user, but this unhandled error is being reported by Sentry.
The request to get tokens (line 161
frontend/src/pages/instance/Settings/Security.vue
) needs to check the team type feature flag as well as the platform flag.Sentry Issue: FLOWFUSE-FRONTEND-59
The text was updated successfully, but these errors were encountered: