|
| typedef std::pair< const std::string, const std::string > | map_key |
| typedef std::unique_ptr< plugin::Plugin, deleter_fn > | owned_ptr |
| typedef std::map< const map_key, owned_ptr > | map |
| typedef std::vector< Plugin * > | vector |
Definition at line 39 of file authorization.h.
◆ Authorization()
| drizzled::plugin::Authorization::Authorization |
( |
std::string | name_arg | ) |
|
|
inlineexplicit |
◆ addPlugin()
◆ isAuthorized() [1/3]
Server API method for checking table authorization
Definition at line 153 of file authorization.cc.
◆ isAuthorized() [2/3]
Server API method for checking schema authorization
Definition at line 122 of file authorization.cc.
◆ isAuthorized() [3/3]
Server API method for checking process authorization
Definition at line 183 of file authorization.cc.
◆ pruneSchemaNames()
| void drizzled::plugin::Authorization::pruneSchemaNames |
( |
const drizzled::identifier::User & | user_ctx, |
|
|
identifier::schema::vector & | set_of_schemas ) |
|
static |
Server API helper method for applying authorization tests to a set of schema names (for use in the context of getSchemaNames
Definition at line 220 of file authorization.cc.
◆ removePlugin()
◆ restrictProcess()
◆ restrictSchema()
Should we restrict the current user's access to this schema?
- Parameters
-
| Current | security context |
| Database | to check against |
- Returns
- true if the user cannot access the schema
Implemented in regex_policy::Policy, and simple_user_policy::Policy.
◆ restrictTable()
Should we restrict the current user's access to this table?
- Parameters
-
| Current | security context |
| Database | to check against |
| Table | to check against |
- Returns
- true if the user cannot access the table
Reimplemented in regex_policy::Policy.
Definition at line 111 of file authorization.h.
The documentation for this class was generated from the following files: