From 8dc0dc0a07189b43d0189bfc552b03ecf3e7506a Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 28 Apr 2016 20:56:27 -0700 Subject: [PATCH] Update permissions for cli user tool --- app/Console/Commands/CreateAdmin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/CreateAdmin.php b/app/Console/Commands/CreateAdmin.php index 4402e0e7af..1859638c34 100644 --- a/app/Console/Commands/CreateAdmin.php +++ b/app/Console/Commands/CreateAdmin.php @@ -53,7 +53,7 @@ class CreateAdmin extends Command $user->last_name = $last_name; $user->username = $username; $user->email = $email; - $user->permissions = '{"admin":1,"user":1,"superuser":1,"reports":1}'; + $user->permissions = '{"admin":1,"user":1,"superuser":1,"reports.view":1, "licenses.keys":1}'; $user->password = bcrypt($password); $user->activated = 1;