Revision 2db78de0
Added by Ondřej Pražák over 5 years ago
app/views/usergroups/_form.html.erb | ||
---|---|---|
</div>
|
||
<div class="tab-pane" id="roles">
|
||
<%= checkbox_f f, :admin if User.current.can_change_admin_flag? %>
|
||
<%= multiple_checkboxes f, :roles, @usergroup, Role.givable.for_current_user, {:label => _('Roles')} %>
|
||
<%= multiple_checkboxes f, :roles, @usergroup, Role.for_current_user, {:label => _('Roles')} %>
|
||
</div>
|
||
<% if AuthSource.non_internal.present? %>
|
||
<div class="tab-pane" id="external">
|
Also available in: Unified diff
Fixes #24259 - Add canned admin role