From: soufiane Date: Mon, 18 Dec 2023 11:12:13 +0000 (+0100) Subject: wait #6482 @0:20 restriction permission X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=ebd0f86bf09918d8547e19daa7709bdeeca54fa3;p=fluidbook-toolbox.git wait #6482 @0:20 restriction permission --- diff --git a/resources/views/fluidbook_publication/link_editor.blade.php b/resources/views/fluidbook_publication/link_editor.blade.php index bd3ef6c25..92401dc0e 100644 --- a/resources/views/fluidbook_publication/link_editor.blade.php +++ b/resources/views/fluidbook_publication/link_editor.blade.php @@ -131,6 +131,8 @@ if(cache()->has('connexion'.$id)) { $connexionInfo = cache()->get('connexion'.$id); } + + $u = backpack_user(); @endphp @extends('layouts.linkeditor') @@ -170,9 +172,11 @@

{{__('Fluidbook en cours d\'utilisation')}}

{{__('Utilisateur : ')}}

Identifiant:

-

- -

+ @if($u->hasPermissionTo('fluidbook-publication:admin')) +

+ +

+ @endif