@extends('layouts.admin.master') @section('content')
# | {{ __('content.role_name') }} | {{ __('content.permissions') }} | {{ __('content.action') }} |
---|---|---|---|
{{ $i++ }} | {{ $role->name }} | @php $role_permissions = $role->getAllPermissions(); @endphp @if ($role->name == 'super-admin') {{ __('content.has_all_permissions') }} @else @foreach ($role_permissions as $role_permission) {{ $role_permission->name }} @endforeach @endif |