@extends('layouts.app') @section('content')

List users

@can('create users') New User @endcan
@can('access users') @foreach ($users as $permission) @endforeach @endcan
S.N Name Action
{{ $permission->id }} {{ $permission->name }} @can('edit users') @endcan @can('delete users')
@csrf @method('delete')
@endcan
@endsection