@extends('layouts.app') @section('title', 'Roles & Permissions') @php $locked = $selected?->isLocked(); $granted = $selected ? ($selected->hasFullAccess() ? \App\Support\Permissions::all() : ($selected->permissions ?? [])) : []; $canEdit = auth()->user()->can('roles.manage'); $totalPerms = count(\App\Support\Permissions::all()); @endphp @section('content')
Choose a role, then tick what people in that role may open and do. Changes apply as soon as they open their next page. Every role except Administrator can be customised.