This commit is contained in:
Godfrey M 2022-08-31 09:53:20 -07:00
parent 0c362e8b57
commit 70ac8af9c4
2 changed files with 6 additions and 7 deletions

View file

@ -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);
} }

View file

@ -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">