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:
committed by
Sergei Golubchik
parent
6680bb14a4
commit
7ec24435b3
@ -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 */
|
||||
|
Reference in New Issue
Block a user