@extends('admin.layouts.app') @section('title', 'Roles & Permissions') @section('breadcrumb', 'Roles & Permissions') @section('content')
ACCESS CONTROL

Roles & Permissions

Choose which administration areas each staff member can access. Changes take effect immediately after saving.

@if(session('success'))
{{ session('success') }}
@endif @if($errors->any()) @endif
♙

Master Admin

Full system access and control over staff permissions.

@foreach(['All operational areas','All website content tools','User and role management','General settings and languages','System Updates — upload and install packages'] as $item) ✓{{ $item }} @endforeach
♧

Staff access

Permissions are assigned per staff account, not globally.

✓Access only the areas selected below ✓Direct URLs are checked server-side ✓Changes remain saved between sessions ✓System Updates are Master Admin only

Staff permissions

Enable or remove access for each staff member individually.

{{ $staff->count() }} staff account(s)
@forelse($staff as $member)
@csrf @method('PUT')
{{ strtoupper(substr($member->name ?: 'S', 0, 1)) }}

{{ $member->name }}

{{ $member->email }}

Staff account
@foreach($permissionGroups as $key => $permission) @endforeach
Restricted to Master Admin

Users & Permissions, Website Content, General Settings, Languages and System Updates cannot be granted to staff.

@empty

No staff accounts yet

Create a staff account from Users to assign its permissions here.

@endforelse
@endsection