diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-12-24 01:30:46 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-12-24 01:30:46 +0000 |
| commit | eaa4c50aca289640239bd8fa10ebba57394953f9 (patch) | |
| tree | 3816d7dea478eaf32e7f5ee22aecce5ed480a6e4 /repoze | |
| parent | c6895b23b63365a983cf564fc67446913ef2bebd (diff) | |
| download | pyramid-eaa4c50aca289640239bd8fa10ebba57394953f9.tar.gz pyramid-eaa4c50aca289640239bd8fa10ebba57394953f9.tar.bz2 pyramid-eaa4c50aca289640239bd8fa10ebba57394953f9.zip | |
Fix.
Diffstat (limited to 'repoze')
| -rw-r--r-- | repoze/bfg/authorization.py | 10 |
1 files 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 |
