From bbbb0bcafea2836430235e8c7a938d9929b74eb0 Mon Sep 17 00:00:00 2001 From: Jean Jacques de Jong Date: Thu, 16 Jan 2025 16:22:34 +0100 Subject: [PATCH] Prevent RO users from editing notes --- resources/views/matter/show.blade.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/views/matter/show.blade.php b/resources/views/matter/show.blade.php index a7d540a3..0396e28a 100644 --- a/resources/views/matter/show.blade.php +++ b/resources/views/matter/show.blade.php @@ -349,7 +349,11 @@ Notes
+ @can('readwrite') + @else +
{{ $matter->notes }}
+ @endcan