def object_access_allowed(groups, path):
    """
    Decide if a user is allowed to access a path
    """
    for group in groups.split(','):
        if path.startswith(group):
            return True
    return False