MySQL 8.4.0
Source Code Documentation
IS_internal_schema_access Class Reference

Extension of ACL_internal_schema_access for Information Schema. More...

#include <auth_common.h>

Inheritance diagram for IS_internal_schema_access:

Public Member Functions

 IS_internal_schema_access ()=default
 ~IS_internal_schema_access () override=default
ACL_internal_access_result check (ulong want_access, ulong *save_priv, bool any_combination_will_do) const override
 Check access to an internal schema. More...
const ACL_internal_table_accesslookup (const char *name) const override
 Search for per table ACL access rules by table name. More...
- Public Member Functions inherited from ACL_internal_schema_access
 ACL_internal_schema_access ()=default
virtual ~ACL_internal_schema_access ()=default

Detailed Description

Extension of ACL_internal_schema_access for Information Schema.

Constructor & Destructor Documentation

◆ IS_internal_schema_access()

IS_internal_schema_access::IS_internal_schema_access ( )

◆ ~IS_internal_schema_access()

IS_internal_schema_access::~IS_internal_schema_access ( )

Member Function Documentation

◆ check()

ACL_internal_access_result IS_internal_schema_access::check ( ulong  want_access,
ulong *  save_priv,
bool  any_combination_will_do 
) const

Check access to an internal schema.

want_accessthe privileges requested
[in,out]save_privthe privileges granted
any_combination_will_dotrue if it's enough to have any privilege for any combination of the table columns.
Return values
ACL_INTERNAL_ACCESS_GRANTEDAll the requested privileges are granted, and saved in save_priv.
ACL_INTERNAL_ACCESS_DENIEDAt least one of the requested privileges was denied.
ACL_INTERNAL_ACCESS_CHECK_GRANTNo requested privilege was denied, and grant should be checked for at least one privilege. Requested privileges that are granted, if any, are saved in save_priv.

Implements ACL_internal_schema_access.

◆ lookup()

const ACL_internal_table_access * IS_internal_schema_access::lookup ( const char *  name) const

Search for per table ACL access rules by table name.

namethe table name
per table access rules, or NULL

Implements ACL_internal_schema_access.

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