Skip to content

Commit

Permalink
feat(user_controller): create user -> sync three roles
Browse files Browse the repository at this point in the history
  • Loading branch information
geniuxy committed Jul 21, 2023
1 parent a248ad7 commit 9f6a3d4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions controllers/user/controllers/helper/config/rbac.go
Expand Up @@ -73,13 +73,7 @@ func GetUserRole(roleType userv1.UserRoleType) []rbacV1.PolicyRule {
},
}
default:
return []rbacV1.PolicyRule{
{
APIGroups: []string{"*"},
Resources: []string{"*"},
Verbs: []string{"*"},
},
}
return []rbacV1.PolicyRule{}
}
}

Expand Down

0 comments on commit 9f6a3d4

Please sign in to comment.