@extends('layouts.master') @section('title', 'Atur Permission — ' . $role->name) @section('styles') @endsection @section('content')

Atur Permission

Pengaturan → Manajemen Role → {{ $role->name }}
Kembali
{{ $role->name }}
0 permission aktif
@foreach($allActions as $action) @endforeach @foreach($modules as $section => $items) @foreach($items as $module) @foreach($allActions as $action) @php $perm = $module['key'] . '.' . $action; $hasAction = in_array($action, $module['actions']); @endphp @if($hasAction) @else @endif @endforeach @endforeach @endforeach
Modul {{ ucfirst($action) }}
{{ $section }}
{{ $module['label'] }}
—
@endsection @push('scripts') @endpush