From a8f6bf01b720322ab1d334e508601cd2ed5ca460 Mon Sep 17 00:00:00 2001 From: Andrey Canon Date: Wed, 16 Dec 2020 12:28:01 -0500 Subject: [PATCH] Remove api user info permission. --- CHANGELOG.rst | 4 ++++ eox_core/api/v1/views.py | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b2c6fa33..15675ce1 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -12,6 +12,10 @@ Change Log Unreleased ---------- +Removed +~~~~~~~ +* EoxCoreAPIPermission from UserInfo APIView + [3.2.0] - 2020-11-18 -------------------- diff --git a/eox_core/api/v1/views.py b/eox_core/api/v1/views.py index ddc297d5..723fe51b 100644 --- a/eox_core/api/v1/views.py +++ b/eox_core/api/v1/views.py @@ -456,7 +456,6 @@ class UserInfo(APIView): Can use Oauth2/Session """ authentication_classes = (BearerAuthentication, SessionAuthentication) - permission_classes = (EoxCoreAPIPermission,) renderer_classes = (JSONRenderer, BrowsableAPIRenderer) def get(self, request, format=None): # pylint: disable=redefined-builtin