From eb45ab9d5cac136c264d0bb037dbbcf7f16b60df Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 11 Feb 2014 15:32:56 +0100 Subject: [PATCH] Add ShareCreateUser prop to allow user creation on the fly (during sharing) --- .../templates/var/lib/pydio/plugins/boot.conf/bootstrap.json/10All | 3 +++ 1 file changed, 3 insertions(+) diff --git a/root/etc/e-smith/templates/var/lib/pydio/plugins/boot.conf/bootstrap.json/10All b/root/etc/e-smith/templates/var/lib/pydio/plugins/boot.conf/bootstrap.json/10All index 2ed9033..cd37548 100644 --- a/root/etc/e-smith/templates/var/lib/pydio/plugins/boot.conf/bootstrap.json/10All +++ b/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 $dbp = $pydio{'DbPassword'} || 'secret'; my $url = $pydio{'LogoutUrl'} || ''; +my $createUser = $pydio{'ShareCreateUser'} || 'disabled'; +$createUser = ($createUser eq 'enabled') ? JSON::true : JSON::false; my $data = { 'core.conf' => { @@ -31,6 +33,7 @@ my $data = { 'USERS_LIST_HIDE_LOGIN' => JSON::false, 'USERS_LIST_COMPLETE_LIMIT' => '20', 'ALLOW_CROSSUSERS_SHARING' => JSON::true, + 'USER_CREATE_USERS' => $createUser }, 'core.auth' => { 'MASTER_INSTANCE_CONFIG' => {