mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 05:04:07 -08:00
Update permissions for cli user tool
This commit is contained in:
parent
e6cbafe5ff
commit
8dc0dc0a07
|
@ -53,7 +53,7 @@ class CreateAdmin extends Command
|
||||||
$user->last_name = $last_name;
|
$user->last_name = $last_name;
|
||||||
$user->username = $username;
|
$user->username = $username;
|
||||||
$user->email = $email;
|
$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->password = bcrypt($password);
|
||||||
$user->activated = 1;
|
$user->activated = 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue