X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FSetup.pm;h=29ca9a8723dd9437c3b7938aab526d23ea39cd59;hb=f9a181e4c2e505df84de16190ee3b75011326f3f;hp=edfe912ea2a34a67ebfc2c18582aaa28f99b4a8e;hpb=40a7b3dc653e099f7bd0bd762b649b04c4432db2;p=freeside.git diff --git a/FS/FS/Setup.pm b/FS/FS/Setup.pm index edfe912ea..29ca9a872 100644 --- a/FS/FS/Setup.pm +++ b/FS/FS/Setup.pm @@ -153,7 +153,7 @@ sub populate_initial_data { die $@ if $@; $class->_populate_initial_data(%opt) - if $class->can('_populate_inital_data'); + if $class->can('_populate_initial_data'); my @records = @{ $data->{$table} }; @@ -181,6 +181,16 @@ sub initial_data { #tie my %hash, 'Tie::DxHash', tie my %hash, 'Tie::IxHash', + #bootstrap user + 'access_user' => [ + { 'username' => 'fs_bootstrap', + '_password' => 'changeme', #will trigger warning if you try to enable + 'last' => 'User', + 'first' => 'Bootstrap', + 'disabled' => 'Y', + }, + ], + #superuser group 'access_group' => [ { 'groupname' => 'Superuser' }, @@ -348,11 +358,12 @@ sub initial_data { #not yet.... - #) - #usage classes 'usage_class' => [], + #phone types + 'phone_type' => [], + ; \%hash;