refinement registrasi-verifikasi role & rbac

This commit is contained in:
2026-07-09 17:42:55 +07:00
parent a1d9b34d93
commit bd9b0873a3
9 changed files with 349 additions and 364 deletions
@@ -25,8 +25,8 @@ class SummaryController extends Controller
public function produktivitas(Request $request)
{
if (!Gate::allows('super_admin') && !Gate::allows('admin')) {
abort(403);
if (!Gate::allows('super_admin') && !Gate::allows('admin') && !Gate::allows('fasilitator')) {
abort(403);
}
$title = 'Produktivitas Dashboard';