@extends('layouts.app') @section('title', __('Permission Management')) @section('content')

{{ __('Permissions') }}

{{ __('This is a read-only catalogue of permissions and their assigned roles. Permission changes are not available in this screen.') }}
{{ __('Clear') }}
@forelse($permissions as $permission)@php($parts = array_pad(explode('.', $permission->name, 2), 2, '—'))@empty@endforelse
{{ __('Permission') }}{{ __('Module') }}{{ __('Action') }}{{ __('Guard') }}{{ __('Assigned roles') }}
{{ $permission->name }}{{ \Illuminate\Support\Str::headline($parts[0]) }}{{ \Illuminate\Support\Str::headline($parts[1]) }}{{ $permission->guard_name }}{{ $permission->roles->pluck('name')->join(', ') ?: '—' }}
{{ __('No permissions found.') }}
{{ $permissions->links() }} @endsection