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

This commit is contained in:
Daniel Berteaud 2014-02-11 15:32:56 +01:00
parent da383ad78a
commit eb45ab9d5c
1 changed files with 3 additions and 0 deletions

View File

@ -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' => {