@extends('layouts.app') @section('title', 'Role Details') @section('page-title', 'Role Details') @section('content') View role information, assigned permissions, and users associated with this role. {{-- Page Actions --}}
{{-- Role Information --}}Role information and access configuration.
Role Name
{{ $role->name }}
Guard
{{ $role->guard_name }}
Permissions
Assigned Users
Created At
{{ $role->created_at?->format('d M Y, h:i A') ?? '—' }}
Last Updated
{{ $role->updated_at?->format('d M Y, h:i A') ?? '—' }}
Permissions currently granted to this role.
{{ $permissions->count() }} {{ Str::plural( 'permission', $permissions->count() ) }}
{{ Str::headline($action) }}
{{ $permission->name }}
This role currently does not have any permissions assigned.
@can('roles.edit') @if ($role->name !== 'Super Admin') Assign Permissions @endif @endcanUsers currently assigned to this role.
| # | User | Assigned Role | |
|---|---|---|---|
| {{ $loop->iteration }} | {{-- User --}}
{{ strtoupper(
substr(
$user->name,
0,
1
)
) }}
{{ $user->name }} User #{{ $user->id }} |
{{-- Email --}}
{{ $user->email }} | {{-- Role --}}{{ $role->name }} |
No users are currently assigned to this role.