simple_user_policy is an Authorization plugin that only allows users to access schemas with their exact name. For example, user “robert” can only access schema “robert”. User “root” can access all schemas. The plugin does not require a policy file or any configuration; the policiy is as simple as described here.
To load this plugin, start drizzled with:
--plugin-add=simple_user_policy
See also
Plugin Options for more information about adding and removing plugins.
Sorry, there are no examples for this plugin.
Monty Taylor
This documentation applies to simple_user_policy 1.0.
To see which version of the plugin a Drizzle server is running, execute:
SELECT MODULE_VERSION FROM DATA_DICTIONARY.MODULES WHERE MODULE_NAME='simple_user_policy'