Hello community,
OPA noob here. With following rego policy
package flipt.authz.v1
import rego.v1
default allow := false
allow if {
input.request.namespace in ["default", "my-team"]
}
I was hoping to only able to see only both namespaces in the UI. But instead all namespaces are displayed (GET /api/v1/namespaces
returns all namespaces). Access is then denied when I click the other namespace not defined in the rego policy.
Is it possible that the unauthorized namespaces not to be displayed in the UI? So the team member can only see the namespaces they own.
Thanks!