Fix merge regressions after jetstream parity merge
This commit is contained in:
@@ -2,14 +2,14 @@ namespace NATS.Server.Protocol;
|
||||
|
||||
public sealed class ClientCommandMatrix
|
||||
{
|
||||
public bool IsAllowed(ClientKind kind, string? op)
|
||||
public bool IsAllowed(global::NATS.Server.ClientKind kind, string? op)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(op))
|
||||
return true;
|
||||
|
||||
return (kind, op.ToUpperInvariant()) switch
|
||||
{
|
||||
(ClientKind.Router, "RS+") => true,
|
||||
(global::NATS.Server.ClientKind.Router, "RS+") => true,
|
||||
(_, "RS+") => false,
|
||||
_ => true,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user