def METHOD_NAME(f):
    """
    Allows Organizer, Co-organizer and Moderator to access the resource(s).
    :param f:
    :return:
    """
    @wraps(f)
    def decorated_function(*args, **kwargs):
        user = current_user
        if user.is_staff:
            return f(*args, **kwargs)
        if 'event_id' in kwargs and (
            user.METHOD_NAME(kwargs['event_id'])
            or user.has_event_access(kwargs['event_id'])
        ):
            return f(*args, **kwargs)
        raise ForbiddenError({'source': ''}, 'Moderator Access is Required.')
    return decorated_function