Update permissions for cli user tool

This commit is contained in:
snipe 2016-04-28 20:56:27 -07:00
parent e6cbafe5ff
commit 8dc0dc0a07

View file

@ -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;