@extends('layouts.app') @section('title', 'Manajemen Role') @section('breadcrumb')
Kelola role dan hak akses CRUD per modul
{{ $role->name }}
@if($role->is_system)
Sistem
@endif
| Modul | Lihat | Tambah | Detail | Edit | Hapus |
|---|---|---|---|---|---|
| {{ $module['label'] }} | @foreach($allActions as $action)@if(in_array($action, $module['actions'])) @if(in_array("$key.$action", $role->permissions ?? [])) @else @endif @else — @endif | @endforeach