def can_view_post(user):
    """Determines who can access the search bar

    Args:
        User
    Returns:
        Boolean: True if student or admin, false if organization
    """
    #only students and admins may use the search, submitForm functions
    return (not bool(user.is_staff) or user.is_superuser)