@extends('layouts.user_type.auth') @section('rolePermissions')
@include('components.alert')
Role Permissions

Manage access control for each role type.

@forelse ($rolePermissions as $index => $rolePermission) @empty @endforelse
# Role Type Status Actions
{{ str_pad($rolePermissions->firstItem()+$index,2,'0',STR_PAD_LEFT) }}
{{ $rolePermission->role_type }}
{{ ucfirst($rolePermission->status) }} @if ($rolePermission->status === 'active')
@csrf
@endif

No role permissions found

@include('components.pagination', ['paginator' => $rolePermissions])
Create Role Permission

Assign module access rights to a role

@csrf

Permissions Matrix

Click row/column to toggle all
@php $permissions = ['view','insert','update','delete']; @endphp @foreach ($permissions as $perm) @endforeach @php $models = ['user','packages','subscriptionPackage','companyProfile','ticketSupport','profile','marketingLabMailLog','contactUs','common','marketingLabs','rolePermission','maintenance_mode','faq','loginLog','cronLog','visitorTracker','activityLog','laravelLog','backupLog','systemHealth']; @endphp @foreach ($models as $model) @foreach ($permissions as $perm) @endforeach @endforeach
Module {{ ucfirst($perm) }}
{{ ucfirst(str_replace('_',' ',$model)) }}
@endsection