[dashboard] Fix StorageClass "Error" in forms by granting RBAC read access by sircthulhu · Pull Request #2267 · 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>
marked this pull request as ready for review
This PR changes 0-9 lines, ignoring generated files.
Something isn't working
labels
Mar 26, 2026
sircthulhu
deleted the
fix/dashboard-storageclass-rbac
branch
sircthulhu added a commit that referenced this pull request
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