{{ __('dashboard.Roles') }}

{{ __('dashboard.Define who can act in the workspace.') }}

@allows('roles.compose') @endallows
@if ($roles->isEmpty())

{{ __('dashboard.No roles yet.') }}

@else {{ __('dashboard.Role') }} {{ __('dashboard.Summary') }} {{ __('dashboard.Abilities') }} {{ __('dashboard.Users') }} {{ __('dashboard.Slug') }} @foreach ($roles as $role)

{{ $role->title }}

@if ($role->locked) {{ __('dashboard.Locked') }} @endif
{{ $role->summary ?: '—' }} {{ $role->abilities_count }} {{ $role->holders_count }} {{ $role->slug }}
@allows('roles.revise') @unless ($role->locked) @endunless @endallows @allows('roles.retire') @unless ($role->locked) @endunless @endallows
@endforeach
@endif
@csrf @method('DELETE') {{ __('dashboard.Retire') }}