@extends('layouts.app') @section('title_full', __('User Permissions').' - '.$user->first_name.' '.$user->last_name) @section('sidebar') @include('partials/sidebar_menu_toggle') @include('users/sidebar_menu') @endsection @section('content')
{{ __('Permissions') }}
@include('partials/flash_messages')
{{ csrf_field() }} @if (count($mailboxes))

{{ __(':first_name has access to the selected mailboxes:', ['first_name' => $user->first_name]) }}

{{ __('all') }} / {{ __('none') }}

@foreach ($mailboxes as $mailbox)
@endforeach
@if ($user->isAdmin())
@endif
@endif @if (!$user->isAdmin())

{{ __('User Permissions') }}

@foreach (App\User::getUserPermissionsList() as $permission_id)
@endforeach
@endif
@endsection @section('javascript') @parent permissionsInit(); @endsection