#include <sql_acl.h>
Public Member Functions |
virtual ACL_internal_access_result | check (ulong want_access, ulong *save_priv) const =0 |
Detailed Description
Per internal table ACL access rules. This class is an interface. Per table(s) specific access rule should be implemented in a subclass.
- See Also
- ACL_internal_schema_access
Definition at line 346 of file sql_acl.h.
Member Function Documentation
virtual ACL_internal_access_result ACL_internal_table_access::check |
( |
ulong |
want_access, |
|
|
ulong * |
save_priv |
|
) |
| const |
|
pure virtual |
Check access to an internal table. When a privilege is granted, this method add the requested privilege to save_priv.
- Parameters
-
| want_access | the privileges requested |
[in,out] | save_priv | the privileges granted |
- Returns
- Return values
-
ACL_INTERNAL_ACCESS_GRANTED | All the requested privileges are granted, and saved in save_priv. |
ACL_INTERNAL_ACCESS_DENIED | At least one of the requested privileges was denied. |
ACL_INTERNAL_ACCESS_CHECK_GRANT | No 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. |
Implemented in PFS_unknown_acl, PFS_editable_acl, PFS_updatable_acl, PFS_truncatable_acl, and PFS_readonly_acl.
The documentation for this class was generated from the following file: