List Roles

@can('create roles') New Role @endcan
@can('access roles') @foreach ($roles as $role) @foreach ($role->permissions as $permission) @endforeach @endforeach @endcan
S.N Name Permissions Action
{{ $role->id }} {{ $role->name }}{{ $permission->name }} @can('edit roles') @endcan @can('delete roles')
@csrf @method('delete')
@endcan