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
andi4000
changed the title
[Bug]: UI is unusable without granting read rights to default namespace
[Bug]: Authz: UI is unusable without granting read rights to default namespace
Dec 6, 2024
Bug Description
Context
Consider following namespaces on the instance:
and following rego policy
Problem
On the first page load after authentication, the UI becomes unusable:
GET /api/v1/namespaces
failed with 403 errorWorkaround
As a workaround, read rights to default namespace has to be granted using the following policy:
Limitation of the Workaround
While this workaround restores basic functionality, the User Experience remains suboptimal:
default
namespace, which they cannot edit (buttons are active)Navigation to other namespace is blocked, but it would be best if resource visibility is aligned with access permission.
Version Info
Search
Steps to Reproduce
Setup flipt with following namespaces on the instance:
and following rego policy
And authorization provider with
member-team1
in claim. Then login with a user withmember-team1
role.Expected Behavior
Additional Context
Config excerpt:
The text was updated successfully, but these errors were encountered: