summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pyramid/authorization.py2
-rw-r--r--src/pyramid/config/security.py2
-rw-r--r--src/pyramid/interfaces.py4
-rw-r--r--src/pyramid/security.py8
4 files changed, 8 insertions, 8 deletions
diff --git a/src/pyramid/authorization.py b/src/pyramid/authorization.py
index eadd46f85..2bef53ad9 100644
--- a/src/pyramid/authorization.py
+++ b/src/pyramid/authorization.py
@@ -60,7 +60,7 @@ class ACLAuthorizationPolicy:
.. deprecated:: 2.0
Authorization policies have been deprecated by the new security system.
- See :ref:`upgrading_auth` for more information.
+ See :ref:`upgrading_auth_20` for more information.
"""
diff --git a/src/pyramid/config/security.py b/src/pyramid/config/security.py
index c63914fd0..59e8d0799 100644
--- a/src/pyramid/config/security.py
+++ b/src/pyramid/config/security.py
@@ -122,7 +122,7 @@ class SecurityConfiguratorMixin:
.. deprecated:: 2.0
Authentication policies have been replaced by security policies.
- See :ref:`upgrading_auth` for more information.
+ See :ref:`upgrading_auth_20` for more information.
Override the :app:`Pyramid` :term:`authorization policy` in the
current configuration. The ``policy`` argument must be an instance
diff --git a/src/pyramid/interfaces.py b/src/pyramid/interfaces.py
index 0b7a07040..29c5eb0da 100644
--- a/src/pyramid/interfaces.py
+++ b/src/pyramid/interfaces.py
@@ -535,7 +535,7 @@ class IAuthenticationPolicy(Interface):
.. deprecated:: 2.0
Authentication policies have been removed in favor of security
- policies. See :ref:`upgrading_auth` for more information.
+ policies. See :ref:`upgrading_auth_20` for more information.
"""
@@ -595,7 +595,7 @@ class IAuthorizationPolicy(Interface):
.. deprecated:: 2.0
Authentication policies have been removed in favor of security
- policies. See :ref:`upgrading_auth` for more information.
+ policies. See :ref:`upgrading_auth_20` for more information.
"""
diff --git a/src/pyramid/security.py b/src/pyramid/security.py
index 9cdafaf6f..a0ab39701 100644
--- a/src/pyramid/security.py
+++ b/src/pyramid/security.py
@@ -85,7 +85,7 @@ def principals_allowed_by_permission(context, permission):
.. 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.
Provided a ``context`` (a resource object), and a ``permission``
string, if an :term:`authorization policy` is
@@ -286,8 +286,8 @@ class AuthenticationAPIMixin:
.. deprecated:: 2.0
``unauthenticated_userid`` does not have an equivalent in the new
- security system. Use :attr:`.authenticated_userid` or
- :attr:`.identity` instead. See :ref:`upgrading_auth` for more
+ security system. Use :attr:`.authenticated_userid` or
+ :attr:`.identity` instead. See :ref:`upgrading_auth_20` for more
information.
Return an object which represents the *claimed* (not verified) user
@@ -322,7 +322,7 @@ class AuthenticationAPIMixin:
.. 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.
Return the list of 'effective' :term:`principal` identifiers
for the ``request``. If no :term:`authentication policy` is in effect,