Skip to content

Commit

Permalink
Merge pull request #18948 from bparees/tsb39
Browse files Browse the repository at this point in the history
require templateinstance delete, not update, on unbind
  • Loading branch information
eparis authored Mar 13, 2018
2 parents 6d21b7d + 451b507 commit 5d57361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/templateservicebroker/servicebroker/unbind.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (b *Broker) Unbind(u user.Info, instanceID, bindingID string) *api.Response
// templateinstances in this namespace.
if err := util.Authorize(b.kc.Authorization().SubjectAccessReviews(), u, &authorizationv1.ResourceAttributes{
Namespace: namespace,
Verb: "update",
Verb: "delete",
Group: templateapi.GroupName,
Resource: "templateinstances",
Name: brokerTemplateInstance.Spec.TemplateInstance.Name,
Expand Down

0 comments on commit 5d57361

Please sign in to comment.