MySQL 9.1.0
Source Code Documentation
Grant_temporary_static_privileges Class Reference

#include <auth_common.h>

Inheritance diagram for Grant_temporary_static_privileges:
[legend]

Public Member Functions

 Grant_temporary_static_privileges (const THD *thd, const Access_bitmask privs)
 
bool precheck (Security_context *sctx)
 
bool grant_privileges (Security_context *sctx)
 
- Public Member Functions inherited from Grant_privileges< Grant_temporary_static_privileges >
bool operator() (Security_context *sctx, Operation op) override
 
- Public Member Functions inherited from Security_context_policy
 Security_context_policy ()=default
 
virtual ~Security_context_policy ()=default
 
 Security_context_policy (const Security_context_policy &)=default
 

Private Attributes

const THDm_thd
 THD handle. More...
 
const Access_bitmask m_privs
 Privileges. More...
 

Additional Inherited Members

- Public Types inherited from Security_context_policy
enum  Operation { Precheck , Execute }
 

Constructor & Destructor Documentation

◆ Grant_temporary_static_privileges()

Grant_temporary_static_privileges::Grant_temporary_static_privileges ( const THD thd,
const Access_bitmask  privs 
)

Member Function Documentation

◆ grant_privileges()

bool Grant_temporary_static_privileges::grant_privileges ( Security_context sctx)

◆ precheck()

bool Grant_temporary_static_privileges::precheck ( Security_context sctx)

Member Data Documentation

◆ m_privs

const Access_bitmask Grant_temporary_static_privileges::m_privs
private

Privileges.

◆ m_thd

const THD* Grant_temporary_static_privileges::m_thd
private

THD handle.


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