diff options
author | Harkrishn Patro <30795839+hpatro@users.noreply.github.com> | 2021-02-22 14:22:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-22 15:22:25 +0200 |
commit | 4739131ca6c966592dce739b9330a989eb6b6b2e (patch) | |
tree | 8f51917489291b63b1adee2085bdb5422b3515a6 /src/zmalloc.c | |
parent | b164c4dec32a71e74c7ca510a7ab8c6423d30eb4 (diff) | |
download | redis-4739131ca6c966592dce739b9330a989eb6b6b2e.tar.gz |
Remove acl subcommand validation if fully added command exists. (#8483)
This validation was only done for sub-commands and not for commands.
These would have been valid (not produce any error)
ACL SETUSER bob +@all +client
ACL SETUSER bob +client +client
so no reason for this one to fail:
ACL SETUSER bob +client +client|id
One example why this is needed is that pfdebug wasn't part of the @hyperloglog
group and now it is. so something like:
acl setuser user1 +@hyperloglog +pfdebug|test
would have succeeded in early 6.0.x, and fail in 6.2 RC3
Co-authored-by: Harkrishn Patro <harkrisp@amazon.com>
Co-authored-by: Madelyn Olson <madelyneolson@gmail.com>
Co-authored-by: Oran Agra <oran@redislabs.com>
Diffstat (limited to 'src/zmalloc.c')
0 files changed, 0 insertions, 0 deletions