MySQL 8.0.37
Source Code Documentation
Get_access_maps Class Reference

A graph visitor used for doing breadth-first traversal of the global role graph. More...

Inheritance diagram for Get_access_maps:
[legend]

Public Member Functions

 Get_access_maps (ACL_USER *acl_user, ulong *access, Db_access_map *db_map, Db_access_map *db_wild_map, Table_access_map *table_map, SP_access_map *sp_map, SP_access_map *func_map, Grant_acl_set *with_admin_acl, Dynamic_privileges *dyn_acl, Restrictions *restrictions)
 
template<typename Vertex , typename Graph >
void discover_vertex (Vertex u, const Graph &) const
 
template<typename Edge , typename Graph >
void examine_edge (const Edge &edge, Graph &granted_roles)
 

Private Attributes

ulong * m_access
 
Db_access_mapm_db_map
 
Db_access_mapm_db_wild_map
 
Table_access_mapm_table_map
 
SP_access_mapm_sp_map
 
SP_access_mapm_func_map
 
Grant_acl_setm_with_admin_acl
 
Dynamic_privilegesm_dynamic_acl
 
Restrictionsm_restrictions
 
Auth_id m_grantee
 

Detailed Description

A graph visitor used for doing breadth-first traversal of the global role graph.

The visitor takes a set of access maps and aggregate all discovered privileges into these maps.

Constructor & Destructor Documentation

◆ Get_access_maps()

Get_access_maps::Get_access_maps ( ACL_USER acl_user,
ulong *  access,
Db_access_map db_map,
Db_access_map db_wild_map,
Table_access_map table_map,
SP_access_map sp_map,
SP_access_map func_map,
Grant_acl_set with_admin_acl,
Dynamic_privileges dyn_acl,
Restrictions restrictions 
)
inline

Member Function Documentation

◆ discover_vertex()

template<typename Vertex , typename Graph >
void Get_access_maps::discover_vertex ( Vertex  u,
const Graph &   
) const
inline

◆ examine_edge()

template<typename Edge , typename Graph >
void Get_access_maps::examine_edge ( const Edge &  edge,
Graph &  granted_roles 
)
inline

Member Data Documentation

◆ m_access

ulong* Get_access_maps::m_access
private

◆ m_db_map

Db_access_map* Get_access_maps::m_db_map
private

◆ m_db_wild_map

Db_access_map* Get_access_maps::m_db_wild_map
private

◆ m_dynamic_acl

Dynamic_privileges* Get_access_maps::m_dynamic_acl
private

◆ m_func_map

SP_access_map* Get_access_maps::m_func_map
private

◆ m_grantee

Auth_id Get_access_maps::m_grantee
private

◆ m_restrictions

Restrictions* Get_access_maps::m_restrictions
private

◆ m_sp_map

SP_access_map* Get_access_maps::m_sp_map
private

◆ m_table_map

Table_access_map* Get_access_maps::m_table_map
private

◆ m_with_admin_acl

Grant_acl_set* Get_access_maps::m_with_admin_acl
private

The documentation for this class was generated from the following file: