summaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-10-07 02:03:47 -0400
committerChris McDonough <chrism@plope.com>2012-10-07 02:03:47 -0400
commit1273d56ee5c038f447dce0525844cd3ea6c15e4d (patch)
tree11ab8f12072353e7e324e66bda5914c78cd5c1ea /CHANGES.txt
parent7d8e08ecff656fd0f525a0fd655cdf20915f5fa8 (diff)
downloadpyramid-1273d56ee5c038f447dce0525844cd3ea6c15e4d.tar.gz
pyramid-1273d56ee5c038f447dce0525844cd3ea6c15e4d.tar.bz2
pyramid-1273d56ee5c038f447dce0525844cd3ea6c15e4d.zip
- The Configurator ``testing_securitypolicy`` method now returns the policy
object it creates. - The Configurator ``testing_securitypolicy`` method accepts two new arguments: ``remember_result`` and ``forget_result``. If supplied, these values influence the result of the policy's ``remember`` and ``forget`` methods, respectively. - The DummySecurityPolicy created by ``testing_securitypolicy`` now sets a ``forgotten`` value on the policy (the value ``True``) when its ``forget`` method is called. - The DummySecurityPolicy created by ``testing_securitypolicy`` now sets a ``remembered`` value on the policy, which is the value of the ``principal`` argument it's called with when its ``remember`` method is called.
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 4b3dabbec..df4ada7e9 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -21,6 +21,25 @@ Bug Fixes
confuse the two, and your code might have rendered one instead of the
other.
+Features
+--------
+
+- The Configurator ``testing_securitypolicy`` method now returns the policy
+ object it creates.
+
+- The Configurator ``testing_securitypolicy`` method accepts two new
+ arguments: ``remember_result`` and ``forget_result``. If supplied, these
+ values influence the result of the policy's ``remember`` and ``forget``
+ methods, respectively.
+
+- The DummySecurityPolicy created by ``testing_securitypolicy`` now sets a
+ ``forgotten`` value on the policy (the value ``True``) when its ``forget``
+ method is called.
+
+- The DummySecurityPolicy created by ``testing_securitypolicy`` now sets a
+ ``remembered`` value on the policy, which is the value of the ``principal``
+ argument it's called with when its ``remember`` method is called.
+
1.4a2 (2012-09-27)
==================