User

<%= link_to 'Back', users_path, class: 'secondary button' %>
Name <%= @user.name %>
Email <%= @user.email %>
Groups <%= @user.groups.collect(&:title).join(', ') %>
Permissions <% @user.permissions.each do |permission| %> <%= permission.resource.humanize.titleize %>: <%= permission.grant.humanize.titleize %> <% end %>
Created <%= @user.created_at %>
Updated <%= @user.updated_at %>