AuthZ: Remove automatic Admin grant for root folders and dashboards (#115098)

This commit is contained in:
Gabriel MABILLE
2025-12-10 10:00:24 -07:00
committed by GitHub
parent 3ec1c27ad4
commit 9e1fe16873
2 changed files with 0 additions and 10 deletions
-5
View File
@@ -775,11 +775,6 @@ func (b *DashboardsAPIBuilder) afterDelete(obj runtime.Object, _ *metav1.DeleteO
}
var defaultDashboardPermissions = []map[string]any{
{
"kind": "BasicRole",
"name": "Admin",
"verb": "admin",
},
{
"kind": "BasicRole",
"name": "Editor",
-5
View File
@@ -203,11 +203,6 @@ func (b *FolderAPIBuilder) UpdateAPIGroupInfo(apiGroupInfo *genericapiserver.API
}
var defaultPermissions = []map[string]any{
{
"kind": "BasicRole",
"name": "Admin",
"verb": "admin",
},
{
"kind": "BasicRole",
"name": "Editor",