@csrf


@foreach($permissions as $row) @php $group_permissions = \Spatie\Permission\Models\Permission::where('path',$row->path)->get(); @endphp
{{trans("lang.".$row->path)}}

@foreach($group_permissions as $permission)
@endforeach

@endforeach
{{-- for avoid edit admin permissions--}} الغاء