def create_user_crumbs(request, crumbs):
    """Creates the base-list of breadcrumbs, depending on the current
    users authorisation level.
    """
    if request.current_user.has_permission('admin.users.view'):
        crumbs.insert(0, {'title': 'Users', 'url': request.route_url('users')})
    if request.current_user.has_permission('admin'):
        try:
            crumbs.insert(0, {'title': 'Administration', 'url': request.
                route_url('admin')})
        except:
            pass
    crumbs[-1]['current'] = True
    return crumbs
