mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
Add new field for USER info to manager interface perms
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -45,6 +45,7 @@
|
|||||||
#define EVENT_FLAG_VERBOSE (1 << 3) /* Verbose messages */
|
#define EVENT_FLAG_VERBOSE (1 << 3) /* Verbose messages */
|
||||||
#define EVENT_FLAG_COMMAND (1 << 4) /* Ability to read/set commands */
|
#define EVENT_FLAG_COMMAND (1 << 4) /* Ability to read/set commands */
|
||||||
#define EVENT_FLAG_AGENT (1 << 5) /* Ability to read/set agent info */
|
#define EVENT_FLAG_AGENT (1 << 5) /* Ability to read/set agent info */
|
||||||
|
#define EVENT_FLAG_USER (1 << 6) /* Ability to read/set user info */
|
||||||
|
|
||||||
/* JDG: export manager structures */
|
/* JDG: export manager structures */
|
||||||
#define MAX_HEADERS 80
|
#define MAX_HEADERS 80
|
||||||
|
@@ -53,6 +53,7 @@ static struct permalias {
|
|||||||
{ EVENT_FLAG_VERBOSE, "verbose" },
|
{ EVENT_FLAG_VERBOSE, "verbose" },
|
||||||
{ EVENT_FLAG_COMMAND, "command" },
|
{ EVENT_FLAG_COMMAND, "command" },
|
||||||
{ EVENT_FLAG_AGENT, "agent" },
|
{ EVENT_FLAG_AGENT, "agent" },
|
||||||
|
{ EVENT_FLAG_USER, "user" },
|
||||||
{ -1, "all" },
|
{ -1, "all" },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user