Don't fix admin priv in the share loop

tags/0.1.8
Daniel Berteaud 11 years ago
parent b027fe7a3e
commit 5ca89564e8
  1. 3
      root/etc/e-smith/templates/var/lib/ajaxplorer/plugins/auth.serial/__user__/rights.ser/10All

@ -30,9 +30,10 @@ foreach my $share (@s){
foreach (@writeusers){
$data->{$sharename} = 'rw' if ( $_ eq $id );
}
$data->{'ajxp.admin'} = ($id eq 'admin') ? 1:0;
}
$data->{'ajxp.admin'} = ($id eq 'admin') ? 1:0;
$data->{'ajxp_shared'} = 'rw'
if (($ajaxplorer{'PublicShares'} || 'enabled') eq 'enabled');

Loading…
Cancel
Save