This file is indexed.

/usr/share/chef-server-webui/app/views/openid_register/index.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
13
14
15
16
17
18
19
.block#block-tables
  .content
    %h2.title Registrations
    .inner
      %table.table
        %tr
          %th.first Registration Name
          %th &nbsp
          %th Control
          %th.last  
          - @registered_nodes.sort{ |a,b| a.name.to_s <=> b.name.to_s }.each_with_index do |node, index|
            %tr{:class => "#{index % 2 == 1 ? 'odd' : 'even'}"}
              %td{:colspan => 2}= link_to(node.name, url(:registration, { :id => node.name }))
              %td
                = link_to( (node.validated ? "Invalidate Registration" : "Validate Registration"), url( :validate_registration, { :id => node.name} ), :method => "post", :confirm => "Are you sure you want to"  + (node.validated  ?  " invalidate " : " validate ") + "this node's registration?")
                |
                = link_to((node.admin ? "Remove Admin Rights" : "Grant Admin Rights"), url(:admin_registration, { :id => node.name}), :method => "post", :confirm => "Are you sure you want to"  + (node.admin ? " remove administrator privileges from this node?" : " grant administrator privileges to this node?"))
                |
                = link_to("Delete", url(:registration, { :id => node.name} ), :method => "delete", :confirm => "Are you sure you want to delete this registration")