Create Custom Role

Configure role details and grant access via the Module-Based Permission Matrix grid.

@csrf

Module-Based Permission Matrix

Toggle action permissions across each Paw Street SaaS operational module.

@foreach($matrix as $moduleName => $allowedActions) @php $actions = ['view', 'create', 'edit', 'delete', 'manage', 'export']; @endphp @foreach($actions as $action) @endforeach @endforeach
MODULE VIEW CREATE EDIT DELETE MANAGE EXPORT
{{ $moduleName }} @if(in_array($action, $allowedActions)) @php $modSlug = strtolower(str_replace(' ', '', $moduleName)); $permSlug = "{$modSlug}.{$action}"; $permObj = $permissions->flatten()->firstWhere('slug', $permSlug) ?? $permissions->flatten()->firstWhere('slug', strtolower($moduleName) . '.' . $action); @endphp @else @endif
Cancel