~drizzle-trunk/drizzle/development

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
.. _simple_user_policy_plugin:

User-based Authorization
========================

:program:`simple_user_policy` is an :doc:`/administration/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.

.. _simple_user_policy_loading:

Loading
-------

To load this plugin, start :program:`drizzled` with::

   --plugin-add=simple_user_policy

.. seealso:: :ref:`drizzled_plugin_options` for more information about adding and removing plugins.

Examples
--------

Sorry, there are no examples for this plugin.

.. _simple_user_policy_authors:

Authors
-------

Monty Taylor

.. _simple_user_policy_version:

Version
-------

This documentation applies to **simple_user_policy 1.0**.

To see which version of the plugin a Drizzle server is running, execute:

.. code-block:: mysql

   SELECT MODULE_VERSION FROM DATA_DICTIONARY.MODULES WHERE MODULE_NAME='simple_user_policy'

Changelog
---------

v1.0
^^^^
* First release.