mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -08:00
.
This commit is contained in:
parent
0c362e8b57
commit
70ac8af9c4
|
@ -218,8 +218,7 @@ class LdapSync extends Command
|
||||||
|
|
||||||
if($item->ldap_default_group != null){
|
if($item->ldap_default_group != null){
|
||||||
|
|
||||||
$permissions_array = $item['ldap_default_group'];
|
$user->permissions= $item['ldap_default_group'];
|
||||||
$user->permissions= json_encode($permissions_array);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -92,8 +92,8 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Default LDAP Permissions Group Select -->
|
<!-- Default LDAP Permissions Group Select -->
|
||||||
<div class="form-group{{ $errors->has('groups') ? ' has-error' : '' }}">
|
<div class="form-group{{ $errors->has('group') ? ' has-error' : '' }}">
|
||||||
<label class="col-md-3 control-label" for="groups[]"> {{ trans('general.groups') }}</label>
|
<label class="col-md-3 control-label" for="group"> {{ trans('general.groups') }}</label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
|
|
||||||
@if ($groups->count())
|
@if ($groups->count())
|
||||||
|
@ -109,9 +109,9 @@
|
||||||
@else
|
@else
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<select
|
<select
|
||||||
name="groups[]"
|
name="group"
|
||||||
aria-label="groups[]"
|
aria-label="group"
|
||||||
id="groups[]"
|
id="group"
|
||||||
multiple="multiple"
|
multiple="multiple"
|
||||||
class="form-control">
|
class="form-control">
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue