@extends('layouts.app') @section('title_full', __('Mailbox Permissions').' - '.$mailbox->name) @section('sidebar') @include('partials/sidebar_menu_toggle') @include('mailboxes/sidebar_menu') @endsection @section('content')
{{ __('Permissions') }}
@include('partials/flash_messages')

{{ __('Selected Users have access to this mailbox:') }}

{{ __('Administrators have access to all mailboxes and are not listed here.') }}

{{ csrf_field() }}

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

@foreach ($users as $user)
@endforeach
@action('mailbox.permissions.before_access_settings', $mailbox, $mailbox_users, $managers)

{{ __('Access Settings') }}

@foreach (\App\Mailbox::$access_permissions as $perm) @endforeach
@foreach ($managers as $mailbox_user)
@foreach (\App\Mailbox::$access_permissions as $perm) @endforeach @endforeach
  {{ __('Hide from Assign list') }} {{ \App\Mailbox::getAccessPermissionName($perm) }}
{{ $mailbox_user->getFullName() }} @if ($mailbox_user->isAdmin()) ({{ __('Administrator') }}) @endif hide)) checked="checked" @endif> @if (!$mailbox_user->isAdmin()) 10) data-toggle="tooltip" title="{{ \App\Mailbox::getAccessPermissionName($perm) }}" @endif @if (!empty($mailbox_user->access) && in_array($perm, json_decode($mailbox_user->access))) checked="checked" @endif @if (Auth::id() == $mailbox_user->id && !Auth::user()->isAdmin()) disabled @endif/> @else @endif
@endsection @section('javascript') @parent permissionsInit(); @endsection