Skip to content

Commit 18348da

Browse files
committed
Applied suggestions from Lior's code review (part 2)
1 parent 033763b commit 18348da

File tree

1 file changed

+6
-0
lines changed
  • content/operate/oss_and_stack/management/security

1 file changed

+6
-0
lines changed

content/operate/oss_and_stack/management/security/acl.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,12 @@ really annoying, so instead we do things like this:
275275
> ACL SETUSER antirez on +@all -@dangerous >42a979... ~*
276276

277277
The above command includes all commands (`+@all`) and then removes all commands tagged as dangerous (`-@dangerous`) inside the Redis command table.
278+
Note that command categories, with the exception of `+@all`, never include module commands.
279+
280+
If you use `+@all` for a particular user, all commands are available to that user, including commands loaded via the modules system. However, if you use `+@read` or any other, module commands are excluded. This concept is fundamental because you should only trust the Redis
281+
internal command table. Modules may expose dangerous things, and in
282+
the case of an ACL that is just additive, that is, in the form of `+@all -...`,
283+
you should be absolutely sure that you won't include what you did not mean to.
278284

279285
The following is a list of command categories and their meanings:
280286

0 commit comments

Comments
 (0)