Let superadmins edit their own groups

This commit is contained in:
snipe 2016-10-31 19:18:06 -07:00
parent 3dac20c20f
commit 26d14b2338

View file

@ -369,7 +369,7 @@
<label class="col-md-3 control-label" for="groups"> {{ trans('general.groups') }}</label>
<div class="col-md-5">
@if ((Config::get('app.lock_passwords') || ($user->id==Auth::user()->id) || (!Auth::user()->isSuperUser())))
@if ((Config::get('app.lock_passwords') || (!Auth::user()->isSuperUser())))
@if (count($userGroups->keys()) > 0)
<ul>
@ -380,7 +380,7 @@
@endif
<span class="help-block">Only superadmins may edit group memberships.</p>
@else
@else
<div class="controls">
<select
name="groups[]"