diff options
| author | Theron Luhn <theron@luhn.com> | 2019-06-23 11:43:18 -0700 |
|---|---|---|
| committer | Theron Luhn <theron@luhn.com> | 2019-06-23 11:43:18 -0700 |
| commit | 5384cc6929e8abb37b49a9447bb4b9f6c85c5e49 (patch) | |
| tree | 563651abf981a96912afea0ff3db9c9df3a39b03 | |
| parent | f2315b9cd94fd403f1030c3199bfc76c5982d55b (diff) | |
| download | pyramid-5384cc6929e8abb37b49a9447bb4b9f6c85c5e49.tar.gz pyramid-5384cc6929e8abb37b49a9447bb4b9f6c85c5e49.tar.bz2 pyramid-5384cc6929e8abb37b49a9447bb4b9f6c85c5e49.zip | |
Act on @stevepiercy's suggestions
| -rw-r--r-- | docs/whatsnew-2.0.rst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/whatsnew-2.0.rst b/docs/whatsnew-2.0.rst index a32801058..49400a937 100644 --- a/docs/whatsnew-2.0.rst +++ b/docs/whatsnew-2.0.rst @@ -42,8 +42,9 @@ The new security policy should implement The new security policy merges ``unauthenticated_userid`` and ``authenticated_userid`` into an :term:`identity` object. This object can be -of any shape, such as a simple ID string or an ORM object, but should The -identity can be accessed via +of any shape, such as a simple ID string or an ORM object, but should have a +string representation (i.e. a ``__str__`` method) useful for debugging. +The identity can be accessed via :attr:`pyramid.request.Request.authenticated_identity`. The concept of :term:`principals <principal>` has been removed; the @@ -57,8 +58,8 @@ ACL, see :ref:`assigning_acls`. Pyramid does not provide any built-in security policies. Similiar functionality of the authentication and authorization policies is now provided -by helpers, which can be utilized to easily implement your own security policy. -The functionality of the legacy authencation policies roughly correspond to the +by helpers, which can be utilized to implement your own security policy. The +functionality of the legacy authentication policies roughly correspond to the following helpers: +----------------------------------------------------------------+-------------------------------------------------------------------+ |
