@push('title') Roles & Permissions @endpush
@if (session('success')) @endif @if (session('info')) @endif @if (session('warning')) @endif @if (session('danger')) @endif

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 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