@extends('layouts.app') @section('title', 'Permissions') @section('page-specific-style') @endsection @section('content')

Permissions

@can('Create permission') Add Permission @endcan
@include('includes.alerts') @foreach($permissions as $permission) @endforeach
Name Module Status Actions
{{ $permission->name }} {{ $permission->module->name }} {{ $permission->isActive ? 'Active' : 'Inactive' }} @can('Update permission') @endcan @can('Delete permission') @endcan
@endsection @section('page-specific-script') @endsection