From eaa4c50aca289640239bd8fa10ebba57394953f9 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 24 Dec 2009 01:30:46 +0000 Subject: Fix. --- repoze/bfg/authorization.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/repoze/bfg/authorization.py b/repoze/bfg/authorization.py index 05214162e..9ba9eae40 100644 --- a/repoze/bfg/authorization.py +++ b/repoze/bfg/authorization.py @@ -39,11 +39,11 @@ class ACLAuthorizationPolicy(object): :class:`repoze.bfg.security.ACLDenied` (equals ``False``). - When computing principals allowed by a permission via the - ``principals_allowed_by_permission``` method, we compute the set - of principals that are explicitly granted the ``permission`` in - the provided ``context``. We do this by walking 'up' the object - graph *from the root* to the context. During this walking - process, if we find an explicit + :func:`repoze.bfg.security.principals_allowed_by_permission` + method, we compute the set of principals that are explicitly + granted the ``permission`` in the provided ``context``. We do + this by walking 'up' the object graph *from the root* to the + context. During this walking process, if we find an explicit :data:`repoze.bfg.security.Allow` ACE for a principal that matches the ``permission``, the principal is included in the allow list. However, if later in the walking process that -- cgit v1.2.3