@push('title') Roles & Permissions @endpush

A role provided access to predefined menus and features so that depending on
assigned role an administrator can have access to what user needs.

@can('view_role_management') @foreach ($roles as $role)
Total {{ count($role->users) }} {{ ucwords($role->name) }}s
    @foreach ($role->users->sortByDesc('created_at')->take(10) as $user) @if ($user->profile_picture)
  • Avatar
  • @else
  • Avatar
  • @endif @endforeach
{{ ucfirst($role->name) }}
View Permissions
@endforeach @endcan @can('create_role_management')
Image

Add role, if it does not exist

@endcan