Skip to content

Commit

Permalink
Merge pull request #179 from gocardless/benwh/console-auth-rbac
Browse files Browse the repository at this point in the history
  • Loading branch information
benwh authored May 15, 2020
2 parents c07bc2c + a081a46 commit 8b86ffb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.0.1
2 changes: 1 addition & 1 deletion pkg/workloads/console/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ func (r *reconciler) createAuthorisationObjects(subjects []rbacv1.Subject) error
},
Rules: []rbacv1.PolicyRule{
{
Verbs: []string{"update", "get"},
Verbs: []string{"get", "patch", "update"},
APIGroups: []string{"workloads.crd.gocardless.com"},
Resources: []string{"consoleauthorisations"},
ResourceNames: []string{r.name.Name},
Expand Down
2 changes: 1 addition & 1 deletion pkg/workloads/console/integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ var _ = Describe("Console", func() {
Equal(
[]rbacv1.PolicyRule{
{
Verbs: []string{"update", "get"},
Verbs: []string{"get", "patch", "update"},
APIGroups: []string{"workloads.crd.gocardless.com"},
Resources: []string{"consoleauthorisations"},
ResourceNames: []string{csl.Name},
Expand Down

0 comments on commit 8b86ffb

Please sign in to comment.