@extends('layouts.app') @section('title', 'Edit Role — ' . $role->name) @section('nav_staff', 'bg-teal-50 text-teal-700 font-semibold') @section('page_title', 'Roles & Permissions') @section('page_subtitle', 'Editing: ' . $role->name) @section('content')

Edit Role

@if($role->is_system) System Role @endif
@csrf @method('PATCH') @if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {{-- Role Details --}}

Role Details

Slug cannot be changed after creation.

{{-- Permissions Grid --}}

Permissions

@if($role->slug === 'super_admin') Super Admin inherits all permissions automatically @endif
@if($role->slug === 'super_admin')
The Super Admin role has unrestricted access to everything and bypasses all permission checks. You can assign permissions for display purposes, but they have no effect on access.
@endif
@include('roles._permission_grid', ['assigned' => old('permissions', $assigned)])
Cancel
@endsection