Skip to content

Commit

Permalink
feat(rbac): allow OrgAdmins to list & watch secrets in their namespace (
Browse files Browse the repository at this point in the history
  • Loading branch information
IvoGoman authored Aug 29, 2024
1 parent 85740cc commit 9b9c8d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/rbac/role.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func OrganizationAdminPolicyRules() []rbacv1.PolicyRule {
// Grant permissions for secrets referenced by other resources, e.g. Plugins for storing sensitive values.
// Retrieving these secrets is not permitted to the user.
{
Verbs: []string{"get", "create", "update", "patch"},
Verbs: []string{"get", "list", "watch", "create", "update", "patch"},
APIGroups: []string{corev1.GroupName},
Resources: []string{"secrets"},
},
Expand Down

0 comments on commit 9b9c8d8

Please sign in to comment.