holos-run / holos

Holos - The Holistic platform manager
https://holos.run
Apache License 2.0
1 stars 0 forks source link

(#181) Add AuthorizationPolicy resources for admin interfaces #182

Closed jeffmccune closed 3 months ago

jeffmccune commented 3 months ago

Previously, when a user registered and logged into the holos app server, they were able to reach admin interfaces like https://argocd.admin.example.com

This patch adds AuthorizationPolicy resources governing the whole cluster. Users with the prod-cluster-{admin,edit,view} roles may access admin services like argocd.

Users without these roles are blocked with RBAC: access denied.

In ZITADEL, the Holos Platform project is granted to the CIAM organization without granting the prod-cluster-* roles, so there's no possible way a CIAM user account can have these roles.

Closes: #181