|
|
|
@ -93,6 +93,9 @@ foreach my $user (($a->users),$a->get('admin')){ |
|
|
|
|
if ($homedir eq 'enabled' || ($homedir eq 'users' && (($user->prop('PydioHomeDir') || 'disabled') eq 'enabled'))){ |
|
|
|
|
$data->{"\0*\0acls"}->{'home'} = 'r'; |
|
|
|
|
} |
|
|
|
|
# ACL for special workspaces |
|
|
|
|
$data->{"\0*\0acls"}->{'ajxp_user'} = 'rw'; |
|
|
|
|
|
|
|
|
|
# As we're here, lets update the email address and the display name |
|
|
|
|
# First, delete parameter if it's an array (meaning it's empty) |
|
|
|
|
delete $data->{"\0*\0parameters"} if (ref ($data->{"\0*\0parameters"})=~ m/ARRAY/i); |
|
|
|
|