MySQL 8.4.0
Source Code Documentation
partial_revokes.h File Reference
#include <map>
#include <memory>
#include <set>
#include <unordered_map>
#include "map_helpers.h"
#include "memory_debugging.h"
#include "my_inttypes.h"
#include "my_sqlcommand.h"
#include "sql/auth/auth_common.h"
#include "sql/auth/auth_utility.h"

Go to the source code of this file.

Classes

class  Abstract_restrictions
 Abstract class for ACL restrictions. More...
 
class  DB_restrictions
 DB Restrictions representation in memory. More...
 
class  Restrictions
 Container of all restrictions for a given user. More...
 
class  Restrictions_aggregator_factory
 Factory class that solely creates an object of type Restrictions_aggregator. More...
 
class  Restrictions_aggregator
 Base class to perform aggregation of two restriction lists. More...
 
class  DB_restrictions_aggregator
 Restriction aggregator for database restrictions. More...
 
class  DB_restrictions_aggregator_set_role
 Database restriction aggregator for SET ROLE statement. More...
 
class  DB_restrictions_aggregator_global_grant
 Restriction aggregator for GRANT statement for GLOBAL privileges. More...
 
class  DB_restrictions_aggregator_global_revoke
 
class  DB_restrictions_aggregator_global_revoke_all
 Restriction aggregator for REVOKE statement over GLOBAL privileges. More...
 
class  DB_restrictions_aggregator_db_grant
 Restriction aggregator for GRANT statement over database privileges. More...
 
class  DB_restrictions_aggregator_db_revoke
 Restriction aggregator for REVOKE statement for database privileges. More...
 

Typedefs

using db_revocations = std::unordered_map< std::string, ulong >
 
using Db_access_map = std::map< std::string, unsigned long >
 

Typedef Documentation

◆ Db_access_map

using Db_access_map = std::map<std::string, unsigned long>

◆ db_revocations

using db_revocations = std::unordered_map<std::string, ulong>