mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +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
@@ -3647,7 +3647,7 @@ void Security_context::init()
|
||||
{
|
||||
host= user= ip= external_user= 0;
|
||||
host_or_ip= "connecting host";
|
||||
priv_user[0]= priv_host[0]= proxy_user[0]= '\0';
|
||||
priv_user[0]= priv_host[0]= proxy_user[0]= priv_role[0]= '\0';
|
||||
master_access= 0;
|
||||
#ifndef NO_EMBEDDED_ACCESS_CHECKS
|
||||
db_access= NO_ACCESS;
|
||||
|
Reference in New Issue
Block a user