diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ab5cc91ad..2c2303b6c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -12,6 +12,10 @@ Change Log Unreleased ---------- +Added +~~~~~ +* Revert previous change in order to add EoxCoreAPIPermission to UserInfo APIView. + [3.3.0] - 2020-12-16 -------------------- diff --git a/eox_core/api/v1/views.py b/eox_core/api/v1/views.py index 723fe51b1..ddc297d5f 100644 --- a/eox_core/api/v1/views.py +++ b/eox_core/api/v1/views.py @@ -456,6 +456,7 @@ 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