docs: def __get_permissions(self, res, **kwargs):
          """
          This call returns current login user's permissions.
          """
          response = res._(**kwargs)
          return response.get('permissions', None)