Project

General

Profile

« Previous | Next » 

Revision acfbc458

Added by Marek Hulán about 10 years ago

fixes #812 - new permissions model, user group role and nest support, role filters for better granularity

Contributions from:

View differences:

app/views/hosts/_provisioning.html.erb
<% templates.sort{|t,x| t.template_kind <=> x.template_kind}.each do |tmplt| %>
<div class="form-group">
<div class="control-label col-md-4"> <%= _("%s Template") % tmplt.template_kind %> </div>
<%= link_to_if_authorized h(tmplt), hash_for_edit_config_template_path(:id => tmplt.to_param), :rel=>"external" %>
<%= link_to_if_authorized h(tmplt), hash_for_edit_config_template_path(:id => tmplt.to_param, :auth_object => tmplt, :permission => 'edit_templates'), :rel=>"external" %>
</div>
<% end %>
</div>

Also available in: Unified diff