MINOR: cli: create new function cli_has_level() to validate permissions
authorWilly Tarreau <w@1wt.eu>
Wed, 23 Nov 2016 16:01:39 +0000 (17:01 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Nov 2016 15:59:27 +0000 (16:59 +0100)
commitde57a578ba79f37092025ccf571e388a23ce679c
tree162431cc0847f9f60aeb3b3440b0066175b54e07
parent69e9644e3548c28f8e1d1636328f392a89c64786
MINOR: cli: create new function cli_has_level() to validate permissions

This function is used to check that the CLI features the appropriate
level of permissions or to prepare the adequate error message.
include/proto/cli.h
src/cli.c