mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -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){
|
||||
|
||||
$permissions_array = $item['ldap_default_group'];
|
||||
$user->permissions= json_encode($permissions_array);
|
||||
$user->permissions= $item['ldap_default_group'];
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -92,8 +92,8 @@
|
|||
</div>
|
||||
|
||||
<!-- Default LDAP Permissions Group Select -->
|
||||
<div class="form-group{{ $errors->has('groups') ? ' has-error' : '' }}">
|
||||
<label class="col-md-3 control-label" for="groups[]"> {{ trans('general.groups') }}</label>
|
||||
<div class="form-group{{ $errors->has('group') ? ' has-error' : '' }}">
|
||||
<label class="col-md-3 control-label" for="group"> {{ trans('general.groups') }}</label>
|
||||
<div class="col-md-6">
|
||||
|
||||
@if ($groups->count())
|
||||
|
@ -109,9 +109,9 @@
|
|||
@else
|
||||
<div class="controls">
|
||||
<select
|
||||
name="groups[]"
|
||||
aria-label="groups[]"
|
||||
id="groups[]"
|
||||
name="group"
|
||||
aria-label="group"
|
||||
id="group"
|
||||
multiple="multiple"
|
||||
class="form-control">
|
||||
|
||||
|
|
Loading…
Reference in a new issue