Sha256: 9462c5678b57156bc593ebf90f8d5c1caaff8bf76c336b463371de895dfa7be2

Contents?: true

Size: 1.6 KB

Versions: 13

Compression:

Stored size: 1.6 KB

Contents

<div class="cbac">
  <h1>Permissions: available upgrades</h1>
  <span>Choose which of these available permissions you want to accept or reject.
    Each upgrade either adds a new permission or revokes an existing permission.
    You can also leave the available upgrade for another time.</span><br/><br/>
  <% form_tag cbac_upgrade_update_path  do %>
  <table>
    <tr>
      <th class="medium">Add /revoke</th>
      <th class="large">Privilegeset</th>
      <th class="medium">Roletype</th>
      <th class="medium">Role</th>
      <th class="small">Accept</th>
      <th class="small">Reject</th>
      <th class="small">Leave</th>
    </tr>
    <% @permissions.each_with_index do |permission, index|  %>
        <tr>
          <td><span><%=permission.operation_string.capitalize%></span><input type="hidden" name="permissions[<%=index.to_s%>][id]" value="<%=permission.id.to_s%>"/></td>
          <td><span title='<%=permission.privilege_set.comment%>'><%=permission.privilege_set_name%></span></td>
          <td><span><%=permission.pristine_role.role_type%></span></td>
          <td><span><%=permission.pristine_role.name%></span></td>
          <td><input type="radio" name="permissions[<%=index.to_s%>][action]" value="accept"/></td>
          <td><input type="radio" name="permissions[<%=index.to_s%>][action]" value="reject"/></td>
          <td><input type="radio" name="permissions[<%=index.to_s%>][action]" value="leave" checked="checked"/></td>
        </tr>
     <% end %>
  </table>
    <input type="button" value="Cancel" onclick="window.location.reload();"/>
    <input type="submit" value="OK"/>
  <% end %>
</div>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
cbac-0.8.0 lib/generators/cbac/copy_files/views/upgrade/index.html.erb
cbac-0.7.0 lib/generators/cbac/copy_files/views/upgrade/index.html.erb
cbac-0.6.10 lib/generators/cbac/copy_files/views/upgrade/index.html.erb
cbac-0.6.9 lib/generators/cbac/copy_files/views/upgrade/index.html.erb
cbac-0.6.8 lib/generators/cbac/copy_files/views/upgrade/index.html.erb
cbac-0.6.7 lib/generators/cbac/copy_files/views/upgrade/index.html.erb
cbac-0.6.5 lib/generators/cbac/copy_files/views/upgrade/index.html.erb
cbac-0.6.4 lib/generators/cbac/copy_files/views/upgrade/index.html.erb
cbac-0.6.2 lib/generators/cbac/copy_files/views/upgrade/index.html.erb
cbac-0.5.4 generators/cbac/templates/views/upgrade/index.html.erb
cbac-0.5.3 generators/cbac/templates/views/upgrade/index.html.erb
cbac-0.5.2 generators/cbac/templates/views/upgrade/index.html.erb
cbac-0.5.1 generators/cbac/templates/views/upgrade/index.html.erb