[Backport release-1.1] [dashboard] Fix StorageClass "Error" in forms by granting RBAC read access by github-actions[bot] · Pull Request #2274 · cozystack/cozystack
… users The dashboard UI fetches StorageClasses via the Kubernetes API to populate dropdowns (e.g. in the Postgres form), but the cozystack-dashboard-readonly ClusterRole did not include storage.k8s.io/storageclasses. This caused authenticated users to see "Error" instead of the StorageClass name. Add get/list/watch permissions for storageclasses to the dashboard readonly role, consistent with the existing backupclasses entry. Assisted-By: Claude AI Signed-off-by: Kirill Ilin <stitch14@yandex.ru> (cherry picked from commit a7a80a7)
This PR changes 0-9 lines, ignoring generated files.
Something isn't working
labels
Mar 26, 2026This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters