From c7167fc73c14a22d3ba1db7c0c48d4496c2b2432 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 11 Jan 2017 14:54:39 -0800 Subject: [PATCH] Only allow users to create a new user via modal if they have users.create permission --- resources/views/hardware/edit.blade.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/views/hardware/edit.blade.php b/resources/views/hardware/edit.blade.php index 392bf56e29..78aa78aae8 100755 --- a/resources/views/hardware/edit.blade.php +++ b/resources/views/hardware/edit.blade.php @@ -73,7 +73,9 @@ {!! $errors->first('assigned_user', ' :message') !!}
+ @can('users.create') New + @endcan