diff --git a/bin/docker/quick_setup.pl b/bin/docker/quick_setup.pl index 52c1cd522e..3c1a3eb529 100755 --- a/bin/docker/quick_setup.pl +++ b/bin/docker/quick_setup.pl @@ -834,6 +834,14 @@ sub AddAdminUser { return 0, "Could not give $Group privileges to the user '$Login'" unless $Success; } + # Looks like generic preferences can't be passed via AddUser(), + # so call SetPreferences() explicitly + $UserObject->SetPreferences( + UserID => $UserID, + Key => 'AdminNavigationBarFavourites', + Value => qq{["AdminSystemConfiguration","AdminPackageManager","AdminSupportDataCollector"]}, + ); + # looks good return 1, "Admin user: http://localhost:$Param{HTTPPort}/otobo/index.pl user: $Login pw: $Login"; }