diff --git a/docs/source/settings.rst b/docs/source/settings.rst index 7de92078..d131ed23 100644 --- a/docs/source/settings.rst +++ b/docs/source/settings.rst @@ -333,14 +333,14 @@ Dictionary that maps permissions to certain views across Djoser. 'activation': ['rest_framework.permissions.AllowAny'], 'password_reset': ['rest_framework.permissions.AllowAny'], 'password_reset_confirm': ['rest_framework.permissions.AllowAny'], - 'set_password': ['rest_framework.permissions.CurrentUserOrAdmin'], + 'set_password': ['djoser.permissions.CurrentUserOrAdmin'], 'username_reset': ['rest_framework.permissions.AllowAny'], 'username_reset_confirm': ['rest_framework.permissions.AllowAny'], - 'set_username': ['rest_framework.permissions.CurrentUserOrAdmin'], + 'set_username': ['djoser.permissions.CurrentUserOrAdmin'], 'user_create': ['rest_framework.permissions.AllowAny'], - 'user_delete': ['rest_framework.permissions.CurrentUserOrAdmin'], - 'user': ['rest_framework.permissions.CurrentUserOrAdmin'], - 'user_list': ['rest_framework.permissions.CurrentUserOrAdmin'], + 'user_delete': ['djoser.permissions.CurrentUserOrAdmin'], + 'user': ['djoser.permissions.CurrentUserOrAdmin'], + 'user_list': ['djoser.permissions.CurrentUserOrAdmin'], 'token_create': ['rest_framework.permissions.AllowAny'], 'token_destroy': ['rest_framework.permissions.IsAuthenticated'], }