Grant access to the admin user on every share, regardless of the actual permissions. admin anyway already has access on the filesystem, so this just makes sure he'll have the same perms through Ajaxplorer. It's also needed for the indexer feature to work
This commit is contained in:
parent
8dced78dc7
commit
23bbb41220
|
@ -87,6 +87,8 @@ foreach my $user (($a->users),$a->get('admin')){
|
|||
foreach (@writeusers){
|
||||
$data->{"\0*\0acls"}->{$sharename} = 'rw' if ( $_ eq $name );
|
||||
}
|
||||
# Special case: admin has access to everything
|
||||
$data->{"\0*\0acls"}->{$sharename} = 'rw' if ($name eq 'admin');
|
||||
}
|
||||
# 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)
|
||||
|
|
Loading…
Reference in New Issue