@php if(isset($permissions)) { $supersubset = $permissions->pluck('id')->toArray(); }@endphp
@error('permissions') {{ $message }} @enderror
@if(Route::is('user.*'))
@endif
@foreach($modules as $key => $module) @php $subset = $module->permissions->pluck('id')->toArray(); $moduleName = strtolower(str_replace(' ', '_', $module->name)); @endphp
@foreach($module->permissions as $key => $permission)
id, $permissionsViaRole)) checked @endif @endif @if(!$permission->isActive) disabled @endif>
@endforeach
@endforeach