![]()  | 
  
    MySQL 8.0.44
    
   Source Code Documentation 
   | 
 
Base class to perform aggregation of two restriction lists. More...
#include <partial_revokes.h>
Public Member Functions | |
| virtual | ~Restrictions_aggregator () | 
| Destructor.  More... | |
| virtual bool | generate (Abstract_restrictions &restrictions)=0 | 
| virtual bool | find_if_require_next_level_operation (Access_bitmask &rights) const =0 | 
Protected Types | |
| enum class | Status {  Error , Warning , Validated , Aggregated , No_op }  | 
Protected Member Functions | |
| Restrictions_aggregator (const Auth_id &grantor, const Auth_id grantee, const Access_bitmask grantor_global_access, const Access_bitmask grantee_global_access, const Access_bitmask requested_access) | |
| Constructor.  More... | |
| Restrictions_aggregator (const Restrictions_aggregator &)=delete | |
| Restrictions_aggregator & | operator= (const Restrictions_aggregator &)=delete | 
| Restrictions_aggregator (const Restrictions_aggregator &&)=delete | |
| Restrictions_aggregator & | operator= (const Restrictions_aggregator &&)=delete | 
Protected Attributes | |
| const Auth_id | m_grantor | 
| Grantor information.  More... | |
| const Auth_id | m_grantee | 
| Grantee information.  More... | |
| const Access_bitmask | m_grantor_global_access | 
| Global static privileges of grantor.  More... | |
| const Access_bitmask | m_grantee_global_access | 
| Global static privileges of grantee.  More... | |
| const Access_bitmask | m_requested_access | 
| Privileges that are being granted or revoked.  More... | |
| Status | m_status | 
| Internal status of aggregation process.  More... | |
Base class to perform aggregation of two restriction lists.
Aggregation is required if all of the following requirements are met:
Task of the aggregator is to evaluate updates required for grantee's restriction. Based on restrictions associated with grantor/grantee: A. Add additional restrictions E.g. - GRANT of a new privileges by a grantor who has restrictions for privileges being granted
      
  | 
  strongprotected | 
      
  | 
  virtualdefault | 
Destructor.
      
  | 
  protected | 
Constructor.
| [in] | grantor | Grantor account information | 
| [in] | grantee | Grantee account information | 
| [in] | grantor_global_access | Global static privileges of grantor | 
| [in] | grantee_global_access | Global static privileges of grantee | 
| [in] | requested_access | Privileges being granted/revoked through current statement | 
      
  | 
  protecteddelete | 
      
  | 
  protecteddelete | 
      
  | 
  pure virtual | 
Implemented in DB_restrictions_aggregator.
      
  | 
  pure virtual | 
Implemented in DB_restrictions_aggregator.
      
  | 
  protecteddelete | 
      
  | 
  protecteddelete | 
      
  | 
  protected | 
Grantee information.
      
  | 
  protected | 
Global static privileges of grantee.
      
  | 
  protected | 
Grantor information.
      
  | 
  protected | 
Global static privileges of grantor.
      
  | 
  protected | 
Privileges that are being granted or revoked.
      
  | 
  protected | 
Internal status of aggregation process.