Add ShareCreateUser prop to allow user creation on the fly (during sharing)

tags/0.2.4_el5
Daniel Berteaud 11 years ago
parent da383ad78a
commit eb45ab9d5c
  1. 3
      root/etc/e-smith/templates/var/lib/pydio/plugins/boot.conf/bootstrap.json/10All

@ -5,6 +5,8 @@ my $dbn = $pydio{'DbName'} || 'pydio';
my $dbu = $pydio{'DbUser'} || 'pydio'; my $dbu = $pydio{'DbUser'} || 'pydio';
my $dbp = $pydio{'DbPassword'} || 'secret'; my $dbp = $pydio{'DbPassword'} || 'secret';
my $url = $pydio{'LogoutUrl'} || ''; my $url = $pydio{'LogoutUrl'} || '';
my $createUser = $pydio{'ShareCreateUser'} || 'disabled';
$createUser = ($createUser eq 'enabled') ? JSON::true : JSON::false;
my $data = { my $data = {
'core.conf' => { 'core.conf' => {
@ -31,6 +33,7 @@ my $data = {
'USERS_LIST_HIDE_LOGIN' => JSON::false, 'USERS_LIST_HIDE_LOGIN' => JSON::false,
'USERS_LIST_COMPLETE_LIMIT' => '20', 'USERS_LIST_COMPLETE_LIMIT' => '20',
'ALLOW_CROSSUSERS_SHARING' => JSON::true, 'ALLOW_CROSSUSERS_SHARING' => JSON::true,
'USER_CREATE_USERS' => $createUser
}, },
'core.auth' => { 'core.auth' => {
'MASTER_INSTANCE_CONFIG' => { 'MASTER_INSTANCE_CONFIG' => {

Loading…
Cancel
Save