etcdserver/api/v2auth/auth.go
func (p Permissions) Revoke(lg *zap.Logger, n *Permissions) (Permissions, error) {
	var out Permissions
	var err error
	if n == nil {
		return p, nil
	}
	out.KV, err = p.KV.Revoke(lg, n.KV)
	return out, err
}
func (p Permissions) Revoke(lg *zap.Logger, n *Permissions) (Permissions, error) {
	var out Permissions
	var err error
	if n == nil {
		return p, nil
	}
	out.KV, err = p.KV.Revoke(lg, n.KV)
	return out, err
}
// Revoke removes a set of permissions to the permission object on which it is called,
// returning a new permission object.