@include('alertsInfo')
Role Lists
@can('role.create')
Add role
@endcan
Sr. # | Name | Permissions | @if (Auth::user()->hasAnyPermission(['role.update', 'role.delete']) || Auth::user()->hasRole('Super Admin'))Action | @endif
---|---|---|---|
{{$count++}} | {{$value->name}} | @foreach ($value->permissions as $permission) {{ $permission->name}} @endforeach | @if (Auth::user()->hasAnyPermission(['role.update', 'role.delete']) || Auth::user()->hasRole('Super Admin'))
|
@endif