ACL DRYRUN
Syntax
ACL DRYRUN username command
ACL categories: @admin, @slow, @dangerous
This command simulates the execution of a given command by a user. It can be used to test the permissions without having to enable the user or cause the side effects of running the actual command.
Return
- Simple string reply:
OK
on success. - Bulk string reply: an error describing why the user can't execute the command.
Examples
dragonfly> ACL SETUSER mike >mypass +GET -SET
OK
dragonfly> ACL DRYRUN mike GET
OK
dragonfly> ACL DRYRUN mike SET
"This user has no permissions to run the 'set' command"