Skip to main content

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

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"