summaryrefslogtreecommitdiff
path: root/redis.conf
diff options
context:
space:
mode:
Diffstat (limited to 'redis.conf')
-rw-r--r--redis.conf14
1 files changed, 8 insertions, 6 deletions
diff --git a/redis.conf b/redis.conf
index 2ea8190f5..108b9ff63 100644
--- a/redis.conf
+++ b/redis.conf
@@ -818,8 +818,10 @@ replica-priority 100
# will still work.
# skip-sanitize-payload RESTORE dump-payload sanitation is skipped.
# sanitize-payload RESTORE dump-payload is sanitized (default).
-# +<command> Allow the execution of that command
-# -<command> Disallow the execution of that command
+# +<command> Allow the execution of that command.
+# May be used with `|` for allowing subcommands (e.g "+config|get")
+# -<command> Disallow the execution of that command.
+# May be used with `|` for blocking subcommands (e.g "-config|set")
# +@<category> Allow the execution of all the commands in such category
# with valid categories are like @admin, @set, @sortedset, ...
# and so forth, see the full list in the server.c file where
@@ -827,10 +829,10 @@ replica-priority 100
# The special category @all means all the commands, but currently
# present in the server, and that will be loaded in the future
# via modules.
-# +<command>|subcommand Allow a specific subcommand of an otherwise
-# disabled command. Note that this form is not
-# allowed as negative like -DEBUG|SEGFAULT, but
-# only additive starting with "+".
+# +<command>|first-arg Allow a specific first argument of an otherwise
+# disabled command. Note that this form is not
+# allowed as negative like -SELECT|1, but
+# only additive starting with "+".
# allcommands Alias for +@all. Note that it implies the ability to execute
# all the future commands loaded via the modules system.
# nocommands Alias for -@all.