How do I run a long acl setuser command with redis-go? #2219
raghu-nandan-bs
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Let me present a sample usecase:
acl setuser testuser on >testpass -@all +@admin
How can I run this as a single command - given that permissions are stored in list of strings?
I can probably iterate of the list:
If I am logged in as the same
testuser
via scripts, I will immidiately be thrown with errorNOPERM
in the first iteration due to-@all
being processed.Is there a way to run this as a single command?
Beta Was this translation helpful? Give feedback.
All reactions