Michael Merickel
2017-06-15 21300198ee62eb00b757a77f2792329ff2d882a0
refs
author Michael Merickel <michael@merickel.org>
Thursday, June 15, 2017 06:21 +0200
committer Michael Merickel <michael@merickel.org>
Thursday, June 15, 2017 06:21 +0200
commit21300198ee62eb00b757a77f2792329ff2d882a0
tree 5da780eaaa91dec2210b4ff9203fad345c3bcba5 tree | zip | gz
parent 2e015c97443d381832554161d090b7608dba1e16 view | diff
fix p.security.ACLPermitsResult to subclass p.security.PermitsResult

The ``IAuthorizationPolicy`` is expected to return an instance of
``PermitsResult`` and the ``ACLPermitsResult`` now subclasses this to
form a consistent class hierarchy.

Similarly the ``ACLDenied`` subclasses ``Denied`` and ``ACLAllowed``
subclasses ``Allowed`` for consistency.
4 files modified
143 ■■■■■ changed files
docs/api/security.rst 24 ●●●●● diff | view | raw | blame | history
pyramid/interfaces.py 6 ●●●●● diff | view | raw | blame | history
pyramid/security.py 109 ●●●●● diff | view | raw | blame | history
pyramid/tests/test_security.py 4 ●●●● diff | view | raw | blame | history