This file is indexed.

/usr/share/chef-server-webui/app/views/users/_navigation.html.haml is in chef-server-webui 10.12.0+dfsg-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
.secondary-navigation
  %ul
    - if is_admin?
      %li{ :class => "first #{active == 'index' ? "active" : ''}"}= link_to('List', url(:users))
    - if is_admin?
      %li{ :class => (active == 'create' ? "active" : '')}= link_to('Create', url(:users_new))
    - if active != 'create' && active != 'index'
      %li{ :class => (active == 'show' ? "active" : '')}= link_to('Show', url(:users_show))
      - if @user.admin || @user.name == params[:user_id]
        %li{ :class => (active == 'edit' ? "active" : '')}= link_to('Edit', url(:users_edit, :user_id => params[:user_id]))
        %li= link_to('Delete', url(:users_delete, :user_id => params[:user_id]), :method => "delete", :confirm => "Really delete user #{params[:user_id]}? There is no undo.")
  .clear