-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Execute should check for whitespace (was: ACL Management) #2689
Comments
Execute("ACL", "SETUSER", "test") Or Execute("ACL", [ "SETUSER", "test" ]) 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. |
Reopening as usability bug. We should detect space in the command an issue appropriate guidance in an exception |
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: