@extends('layouts.app') @section('content')

Assign Permissions: {{ $role->name }}

Back
@csrf @method('PUT')
Tick a module to show it to the role, then tick only the actions the role may see and use. Unchecked modules and actions are hidden and blocked.
@forelse($modules as $module)
@php $permissions = $module->permissions ?? collect(); @endphp @if($permissions->count())
@foreach($permissions as $permission) @endforeach
@else
No permissions added for this module yet.
@endif
@empty
No modules found.
@endforelse
@endsection