code: def get(self, request):
          '''Get user information, with a list of permissions for that user.'''
          user = request.user
          serializer = PermissionsUserSerializer(
              instance=user, context={'request': request})
          return Response(data=serializer.dataf get(self, request):
          '''Get user information, with a list of permissions for that user.'''
          user = request.user
          serializer = PermissionsUserSerializer(
              instance=user, context={'request': request})
          return Response(data=serializer.data)
docs: Get user information, with a list of permissions for that user.