@extends('agency.layouts.app') @section('title', 'Yetkilendirme') @section('page_title', 'Yetkilendirme (Rol Yönetimi)') @php $breadcrumbs = [ ['title' => 'Dashboard', 'url' => route('agency.dashboard')], ['title' => 'Personel ve Yetki', 'url' => '#'], ['title' => 'Yetkilendirme', 'url' => ''] ]; @endphp @section('content')

Roller

Personelleriniz için yetki gruplarını yönetin

Yeni Rol Oluştur
@if(session('success')) @endif @if(session('error')) @endif
@forelse($roles as $role) @empty @endforelse
Rol Adı Sistem Adı Açıklama Yetki Sayısı İşlemler
{{ $role->ui_name }} @if($role->agency_id === null) SİSTEM @endif
{{ $role->name }} {{ Str::limit($role->description ?? '-', 50) }} {{ $role->permissions->count() }} Yetki
@if($role->agency_id !== null && !$role->is_system)
@csrf @method('DELETE')
@endif
Henüz rol oluşturulmamış

Personellerinize atayabileceğiniz yetki grupları oluşturun.

İlk Rolü Oluştur
@endsection @push('scripts') @endpush