@extends('layouts.admin') @section('title', 'Role Management') @section('breadcrumbs')
Manage system roles and permissions
| Role | Type | Priority | Users | Permissions | Status | Actions |
|---|---|---|---|---|---|---|
|
{{ $role->name }}
{{ $role->slug }}
@if($role->description)
{{ Str::limit($role->description, 50) }}
@endif
|
{{ ucfirst($role->type) }} | {{ $role->priority }} | @if($role->users_count > 0) {{ $role->users_count }} @else None @endif | @if($role->rolePermissions->count() > 0) {{ $role->rolePermissions->count() }} @else None @endif | {{ $role->is_active ? 'Active' : 'Inactive' }} |