summaryrefslogtreecommitdiff
path: root/docs/ref/contrib/auth.txt
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2025-09-05 13:49:08 -0400
committernessita <124304+nessita@users.noreply.github.com>2025-09-17 15:17:05 -0300
commit00a84fc6f3bb8cca15113e4d41e710123d182b4a (patch)
tree09d8a81acf0c768be984e92de5f3f1206630a266 /docs/ref/contrib/auth.txt
parent1db79d8acf20c38aaf52e8e7c57f43c0e6501bb9 (diff)
Removed versionadded/changed annotations for 5.2.
Diffstat (limited to 'docs/ref/contrib/auth.txt')
-rw-r--r--docs/ref/contrib/auth.txt80
1 files changed, 0 insertions, 80 deletions
diff --git a/docs/ref/contrib/auth.txt b/docs/ref/contrib/auth.txt
index 01e1e09a3b..4438182cb0 100644
--- a/docs/ref/contrib/auth.txt
+++ b/docs/ref/contrib/auth.txt
@@ -206,10 +206,6 @@ Methods
If ``obj`` is passed in, only returns the user permissions for this
specific object.
- .. versionchanged:: 5.2
-
- ``aget_user_permissions()`` method was added.
-
.. method:: get_group_permissions(obj=None)
.. method:: aget_group_permissions(obj=None)
@@ -221,10 +217,6 @@ Methods
If ``obj`` is passed in, only returns the group permissions for
this specific object.
- .. versionchanged:: 5.2
-
- ``aget_group_permissions()`` method was added.
-
.. method:: get_all_permissions(obj=None)
.. method:: aget_all_permissions(obj=None)
@@ -236,10 +228,6 @@ Methods
If ``obj`` is passed in, only returns the permissions for this
specific object.
- .. versionchanged:: 5.2
-
- ``aget_all_permissions()`` method was added.
-
.. method:: has_perm(perm, obj=None)
.. method:: ahas_perm(perm, obj=None)
@@ -254,10 +242,6 @@ Methods
If ``obj`` is passed in, this method won't check for a permission for
the model, but for this specific object.
- .. versionchanged:: 5.2
-
- ``ahas_perm()`` method was added.
-
.. method:: has_perms(perm_list, obj=None)
.. method:: ahas_perms(perm_list, obj=None)
@@ -272,10 +256,6 @@ Methods
If ``obj`` is passed in, this method won't check for permissions for
the model, but for the specific object.
- .. versionchanged:: 5.2
-
- ``ahas_perms()`` method was added.
-
.. method:: has_module_perms(package_name)
.. method:: ahas_module_perms(package_name)
@@ -286,10 +266,6 @@ Methods
always return ``False``. For an active superuser, this method will
always return ``True``.
- .. versionchanged:: 5.2
-
- ``ahas_module_perms()`` method was added.
-
.. method:: email_user(subject, message, from_email=None, **kwargs)
Sends an email to the user. If ``from_email`` is ``None``, Django uses
@@ -334,10 +310,6 @@ Manager methods
See :ref:`Creating users <topics-auth-creating-users>` for example
usage.
- .. versionchanged:: 5.2
-
- ``acreate_user()`` method was added.
-
.. method:: create_superuser(username, email=None, password=None, **extra_fields)
.. method:: acreate_superuser(username, email=None, password=None, **extra_fields)
@@ -346,10 +318,6 @@ Manager methods
Same as :meth:`create_user`, but sets :attr:`~models.User.is_staff` and
:attr:`~models.User.is_superuser` to ``True``.
- .. versionchanged:: 5.2
-
- ``acreate_superuser()`` method was added.
-
.. method:: with_perm(perm, is_active=True, include_superusers=True, backend=None, obj=None)
Returns users that have the given permission ``perm`` either in the
@@ -566,10 +534,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
Returns an empty set.
- .. versionchanged:: 5.2
-
- ``aget_user_permissions()`` function was added.
-
.. method:: get_group_permissions(user_obj, obj=None)
.. method:: aget_group_permissions(user_obj, obj=None)
@@ -577,10 +541,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
Returns an empty set.
- .. versionchanged:: 5.2
-
- ``aget_group_permissions()`` function was added.
-
.. method:: get_all_permissions(user_obj, obj=None)
.. method:: aget_all_permissions(user_obj, obj=None)
@@ -589,10 +549,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
Uses :meth:`get_user_permissions` and :meth:`get_group_permissions` to
get the set of permission strings the ``user_obj`` has.
- .. versionchanged:: 5.2
-
- ``aget_all_permissions()`` function was added.
-
.. method:: has_perm(user_obj, perm, obj=None)
.. method:: ahas_perm(user_obj, perm, obj=None)
@@ -601,10 +557,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
Uses :meth:`get_all_permissions` to check if ``user_obj`` has the
permission string ``perm``.
- .. versionchanged:: 5.2
-
- ``ahas_perm()`` function was added.
-
.. class:: ModelBackend
This is the default authentication backend used by Django. It
@@ -644,10 +596,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
if it wasn't provided to :func:`~django.contrib.auth.authenticate`
(which passes it on to the backend).
- .. versionchanged:: 5.2
-
- ``aauthenticate()`` function was added.
-
.. method:: get_user_permissions(user_obj, obj=None)
.. method:: aget_user_permissions(user_obj, obj=None)
@@ -658,10 +606,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
:attr:`~django.contrib.auth.models.AbstractBaseUser.is_anonymous` or
:attr:`~django.contrib.auth.models.CustomUser.is_active` is ``False``.
- .. versionchanged:: 5.2
-
- ``aget_user_permissions()`` function was added.
-
.. method:: get_group_permissions(user_obj, obj=None)
.. method:: aget_group_permissions(user_obj, obj=None)
@@ -672,10 +616,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
:attr:`~django.contrib.auth.models.AbstractBaseUser.is_anonymous` or
:attr:`~django.contrib.auth.models.CustomUser.is_active` is ``False``.
- .. versionchanged:: 5.2
-
- ``aget_group_permissions()`` function was added.
-
.. method:: get_all_permissions(user_obj, obj=None)
.. method:: aget_all_permissions(user_obj, obj=None)
@@ -686,10 +626,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
:attr:`~django.contrib.auth.models.AbstractBaseUser.is_anonymous` or
:attr:`~django.contrib.auth.models.CustomUser.is_active` is ``False``.
- .. versionchanged:: 5.2
-
- ``aget_all_permissions()`` function was added.
-
.. method:: has_perm(user_obj, perm, obj=None)
.. method:: ahas_perm(user_obj, perm, obj=None)
@@ -699,10 +635,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
permission string ``perm``. Returns ``False`` if the user is not
:attr:`~django.contrib.auth.models.CustomUser.is_active`.
- .. versionchanged:: 5.2
-
- ``ahas_perm()`` function was added.
-
.. method:: has_module_perms(user_obj, app_label)
.. method:: ahas_module_perms(user_obj, app_label)
@@ -711,10 +643,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
Returns whether the ``user_obj`` has any permissions on the app
``app_label``.
- .. versionchanged:: 5.2
-
- ``ahas_module_perms()`` function was added.
-
.. method:: user_can_authenticate()
Returns whether the user is allowed to authenticate. To match the
@@ -786,10 +714,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
if it wasn't provided to :func:`~django.contrib.auth.authenticate`
(which passes it on to the backend).
- .. versionchanged:: 5.2
-
- ``aauthenticate()`` function was added.
-
.. method:: clean_username(username)
Performs any cleaning on the ``username`` (e.g. stripping LDAP DN
@@ -818,10 +742,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
if it wasn't provided to :func:`~django.contrib.auth.authenticate`
(which passes it on to the backend).
- .. versionchanged:: 5.2
-
- ``aconfigure_user()`` function was added.
-
.. method:: user_can_authenticate()
Returns whether the user is allowed to authenticate. This method