Require service:read to read terminating-gateway config
This commit is contained in:
parent
4b1b42cef5
commit
243c015c52
|
@ -264,7 +264,7 @@ func (e *TerminatingGatewayConfigEntry) CanRead(authz acl.Authorizer) bool {
|
|||
var authzContext acl.AuthorizerContext
|
||||
e.FillAuthzContext(&authzContext)
|
||||
|
||||
return authz.OperatorRead(&authzContext) == acl.Allow
|
||||
return authz.ServiceRead(e.Name, &authzContext) == acl.Allow
|
||||
}
|
||||
|
||||
func (e *TerminatingGatewayConfigEntry) CanWrite(authz acl.Authorizer) bool {
|
||||
|
|
Loading…
Reference in New Issue