1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Added acl_setrole function. The function enables/disables role privileges to

the current user via the current security_context
This commit is contained in:
Vicențiu Ciorbaru
2013-10-17 15:11:13 -07:00
committed by Sergei Golubchik
parent 6680bb14a4
commit 7ec24435b3
4 changed files with 65 additions and 1 deletions

View File

@ -1041,6 +1041,8 @@ public:
char proxy_user[USERNAME_LENGTH + MAX_HOSTNAME + 5];
/* The host privilege we are using */
char priv_host[MAX_HOSTNAME];
/* The role privilege we are using */
char priv_role[USERNAME_LENGTH];
/* The external user (if available) */
char *external_user;
/* points to host if host is available, otherwise points to ip */