Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ishustava committed Jul 27, 2023
1 parent 2d5e7d0 commit a3d1f4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/mesh/internal/types/proxy_state_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ func RegisterProxyStateTemplate(r resource.Registry) {
},
Write: func(authorizer acl.Authorizer, p *pbresource.Resource) error {
// Require operator:write only for "break-glass" scenarios as this resource should be mostly
// be managed by the mesh controller.
// managed by the mesh controller.
return authorizer.ToAllowAuthorizer().OperatorWriteAllowed(resource.AuthorizerContext(p.Id.Tenancy))
},
List: func(authorizer acl.Authorizer, tenancy *pbresource.Tenancy) error {
// No-op List permission as we want to default to filtering resource resources
// No-op List permission as we want to default to filtering resources
// from the list using the Read enforcement.
return nil
},
Expand Down

0 comments on commit a3d1f4c

Please sign in to comment.