You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to manage ACLs programmatically, but can't seem to figure out how to do it. Is that possible at this point? I'm aware that ACLs aren't supported yet, but I'm not sure why executing raw commands are an issue.
$"ACL SETUSER {username} on >{password} +@subscribe +@psubscribe &mychannels*"
results in
System.ArgumentOutOfRangeException: 'Specified argument was out of the range of valid values. (Parameter 'Command 'ACL SETUSER on > +@subscribe +@psubscribe &mychannels*' exceeds library limit of 31 bytes')'
If ACLs worked at all, I could get around that latter error by making multiple, shorter commands, though I'd prefer running a single command.
The text was updated successfully, but these errors were encountered:
I wonder if we should detect commands with a space in and either throw a clear exception, or actively split it into pieces and issue what the user probably intended.
Ah, ok. I couldn't find any documentation on how the args work for the Execute method. I assumed it was similar to how SQL commands do args. Thanks for the clarification.
I am trying to manage ACLs programmatically, but can't seem to figure out how to do it. Is that possible at this point? I'm aware that ACLs aren't supported yet, but I'm not sure why executing raw commands are an issue.
Something as simple as this:
Results in this error:
All the ACL commands seem to do this.
Longer commands like
results in
If ACLs worked at all, I could get around that latter error by making multiple, shorter commands, though I'd prefer running a single command.
The text was updated successfully, but these errors were encountered: