docs: def check_permission(self, obj_id, permissions):
          """
          Get list of permissions for a user
  
          :param obj_id: int
          :param permissions: str|list|tuple
          :return: dict|str
          """
          response = self._client.session.post(
              '{url}/{id}/permissioncheck'.format(
                  url=self.endpoint_url, id=obj_id
              ),
              data={'permissions': permissions}
          )
          return self.process_response(response)