redict/tests
Huang Zhw e138698e54
make processCommand check publish channel permissions. (#8534)
Add publish channel permissions check in processCommand.

processCommand didn't check publish channel permissions, so we can
queue a publish command in a transaction. But when exec the transaction,
it will fail with -NOPERM.

We also union keys/commands/channels permissions check togegher in
ACLCheckAllPerm. Remove pubsubCheckACLPermissionsOrReply in 
publishCommand/subscribeCommand/psubscribeCommand. Always 
check permissions in processCommand/execCommand/
luaRedisGenericCommand.
2021-03-26 14:10:01 +03:00
..
assets Sanitize dump payload: ziplist, listpack, zipmap, intset, stream 2020-12-06 14:54:34 +02:00
cluster fix race in diskless load cluster tests (#8674) 2021-03-22 10:51:13 +02:00
helpers revert an accidental test code change done as part of the tls project 2019-12-01 16:10:09 +02:00
integration Properly initialize variable to make valgrind happy in checkChildrenDone(). Removed usage for the obsolete wait3() and wait4() in favor of waitpid(), and properly check for the exit status code. (#8666) 2021-03-24 08:41:05 -07:00
modules Fix some memory leaks in propagagte.c (#8636) 2021-03-11 13:50:13 +02:00
sentinel Fix errors with sentinel leaked fds test. (#8482) 2021-02-11 15:25:01 +02:00
support When tests exit normally, some processes may still be alive (#8647) 2021-03-16 17:25:30 +02:00
tmp minor fixes to the new test suite, html doc updated 2010-05-14 18:48:33 +02:00
unit make processCommand check publish channel permissions. (#8534) 2021-03-26 14:10:01 +03:00
instances.tcl Allow stopped redis processes to be killed in tests (#8552) 2021-02-24 14:26:16 -08:00
test_helper.tcl Make port, tls-port and bind configurations modifiable (#8510) 2021-03-01 16:04:44 +02:00