From bd73fc6cc17544d14b029c528cd70da73dd0a364 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 17 Jan 2010 17:55:39 +0000 Subject: Using a single chapter for the API docs and a single chapter for the ZCML directives made it hard to read. --- docs/zcml/aclauthorizationpolicy.rst | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/zcml/aclauthorizationpolicy.rst (limited to 'docs/zcml/aclauthorizationpolicy.rst') diff --git a/docs/zcml/aclauthorizationpolicy.rst b/docs/zcml/aclauthorizationpolicy.rst new file mode 100644 index 000000000..f4df1dce1 --- /dev/null +++ b/docs/zcml/aclauthorizationpolicy.rst @@ -0,0 +1,35 @@ +.. _aclauthorizationpolicy_directive: + +``aclauthorizationpolicy`` +-------------------------- + +When this directive is used, authorization information is obtained +from :term:`ACL` objects attached to model instances. + +Attributes +~~~~~~~~~~ + +None. + +Example +~~~~~~~ + +.. code-block:: xml + :linenos: + + + +Alternatives +~~~~~~~~~~~~ + +You may create an instance of the +:class:`repoze.bfg.authorization.ACLAuthorizationPolicy` and pass it +to the :class:`repoze.bfg.configuration.Configurator` constructor as +the ``authorization_policy`` argument during initial application +configuration. + +See Also +~~~~~~~~ + +See also :ref:`authorization_policies_directives_section` and +:ref:`security_chapter`. -- cgit v1.2.3