|
|
@ -65,7 +65,7 @@ foreach my $user (($a->users),$a->get('admin')){ |
|
|
|
# In any case, re-compute the effective permissions |
|
|
|
# In any case, re-compute the effective permissions |
|
|
|
foreach my $share ($a->get_all_by_prop(type => 'share')){ |
|
|
|
foreach my $share ($a->get_all_by_prop(type => 'share')){ |
|
|
|
my $sharename = $share->key; |
|
|
|
my $sharename = $share->key; |
|
|
|
my $access = $share->prop('Ajaxplorer') || 'disabled'; |
|
|
|
my $access = $share->prop('Pydio') || 'disabled'; |
|
|
|
next unless ($access eq 'enabled'); |
|
|
|
next unless ($access eq 'enabled'); |
|
|
|
my @readgroups = split(/[;,]/, $share->prop('ReadGroups') || ''); |
|
|
|
my @readgroups = split(/[;,]/, $share->prop('ReadGroups') || ''); |
|
|
|
my @writegroups = split(/[;,]/, $share->prop('WriteGroups') || ''); |
|
|
|
my @writegroups = split(/[;,]/, $share->prop('WriteGroups') || ''); |
|
|
|