@extends('layouts.app') @section('title', 'Roles') @section('content') @can('create', \App\Models\Role::class) New role @endcan
@foreach ($roles as $role) @endforeach
RoleLevelMembers
{{ $role->name }} @if ($role->is_system)Built in@endif @if ($role->description){{ $role->description }}@endif {{ $role->level }} {{ $role->users_count }}
@can('update', $role) Edit @endcan @can('create', \App\Models\Role::class)
@csrf
@endcan @can('delete', $role)
@csrf @method('DELETE')
@endcan
Built-in roles cannot be edited — everything else in the product assumes they mean what they say. Duplicate one and change the copy instead.
@endsection