From 7821fee97cd7611870d0e639aece8fa271c6e1ce Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Tue, 31 Mar 2020 22:08:01 -0500 Subject: namespace upgrading_auth since it's in the whatsnew doc --- docs/api/authentication.rst | 2 +- docs/api/request.rst | 4 ++-- docs/whatsnew-2.0.rst | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'docs') diff --git a/docs/api/authentication.rst b/docs/api/authentication.rst index f3a25ee64..a1a8dfea1 100644 --- a/docs/api/authentication.rst +++ b/docs/api/authentication.rst @@ -26,7 +26,7 @@ Authentication Policies ~~~~~~~~~~~~~~~~~~~~~~~ Authentication policies have been deprecated by the new security system. See -:ref:`upgrading_auth` for more information. +:ref:`upgrading_auth_20` for more information. .. autoclass:: AuthTktAuthenticationPolicy :members: diff --git a/docs/api/request.rst b/docs/api/request.rst index 8704a2fe7..f6a3b62a6 100644 --- a/docs/api/request.rst +++ b/docs/api/request.rst @@ -176,7 +176,7 @@ ``unauthenticated_userid`` has been deprecated in version 2.0. Use :attr:`authenticated_userid` or :attr:`identity` instead. See - :ref:`upgrading_auth` for more information. + :ref:`upgrading_auth_20` for more information. A property which returns a value which represents the *claimed* (not verified) :term:`userid` of the credentials present in the @@ -194,7 +194,7 @@ .. deprecated:: 2.0 The new security policy has removed the concept of principals. See - :ref:`upgrading_auth` for more information. + :ref:`upgrading_auth_20` for more information. A property which returns the list of 'effective' :term:`principal` identifiers for this request. This list typically includes the diff --git a/docs/whatsnew-2.0.rst b/docs/whatsnew-2.0.rst index 8685d9629..dd87d5cee 100644 --- a/docs/whatsnew-2.0.rst +++ b/docs/whatsnew-2.0.rst @@ -14,11 +14,11 @@ Feature Additions The feature additions in Pyramid 2.0 are as follows: - The authentication and authorization policies of Pyramid 1.x have been merged into a single :term:`security policy` in Pyramid 2.0. - For details on how to migrate to the new security policy, see :ref:`upgrading_auth`. + For details on how to migrate to the new security policy, see :ref:`upgrading_auth_20`. Authentication and authorization policies can still be used and will continue to function normally for the time being. New security APIs have been added to support an overhaul of the authentication and authorization system. - Read :ref:`upgrading_auth` for information about using this new system. + Read :ref:`upgrading_auth_20` for information about using this new system. - :meth:`pyramid.config.Configurator.set_security_policy` - :class:`pyramid.interfaces.ISecurityPolicy` @@ -95,7 +95,7 @@ Deprecations - Authentication and authorization policies have been deprecated in favor of the new :term:`security policy`. -.. _upgrading_auth: +.. _upgrading_auth_20: Upgrading Authentication/Authorization -------------------------------------- -- cgit v1.2.3