@extends('layouts.admin.main') @section('content')

Permission du dossier: {{$dir->name}}

/{{$dir->path}}

Permission des grades
@foreach($dir->rank_permission as $key => $rank) @if($key != 0) @endif @endforeach
Grade Lecture Écriture Gestion add
Utilisateur non authentifié @if(isset($dir->rank_permission[0])) @if(strpos($dir->rank_permission[0],'r') !== false) @else @endif @else @endif @if(isset($dir->rank_permission[0])) @if(strpos($dir->rank_permission[0],'w') !== false) @else @endif @else @endif @if(isset($dir->rank_permission[0])) @if(strpos($dir->rank_permission[0],'p') !== false) @else @endif @else @endif
{{\App\Rank::find($key)->name}} @if(strpos($rank,'r') !== false) @else @endif @if(strpos($rank,'w') !== false) @else @endif @if(strpos($rank,'p') !== false) @else @endif
Permission des postes
@if(count($dir->job_permission) < 1) @endif @foreach($dir->job_permission as $key => $rank) @endforeach
Poste Lecture Écriture Gestion add
Aucune permission de poste
{{\App\Job::find($key)->name}} @if(strpos($rank,'r') !== false) @else @endif @if(strpos($rank,'w') !== false) @else @endif @if(strpos($rank,'p') !== false) @else @endif
Permission des utilisateurs
@if(count($dir->user_permission) < 1) @endif @foreach($dir->user_permission as $key => $rank) @endforeach
Utilisateurs Lecture Écriture Gestion add
Aucune permission d'utilisateur
{{\App\User::find($key)->fullname()}} @if(strpos($rank,'r') !== false) @else @endif @if(strpos($rank,'w') !== false) @else @endif @if(strpos($rank,'p') !== false) @else @endif
@endsection @section('breadcrumb') Fichier / Google Drive @endsection @section('custom_scripts') @endsection