Add owner to access list
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
d84df15590
commit
7dcc98eb20
|
@ -78,3 +78,7 @@ Options -Indexes
|
|||
<IfModule pagespeed_module>
|
||||
ModPagespeed Off
|
||||
</IfModule>
|
||||
#### DO NOT CHANGE ANYTHING ABOVE THIS LINE ####
|
||||
|
||||
ErrorDocument 403 /core/templates/403.php
|
||||
ErrorDocument 404 /core/templates/404.php
|
||||
|
|
|
@ -1221,7 +1221,7 @@ class Manager implements IManager {
|
|||
$path = $path->getParent();
|
||||
}
|
||||
|
||||
$users = [];
|
||||
$users = [$owner => 'null'];
|
||||
$public = false;
|
||||
$remote = false;
|
||||
foreach ($shares as $share) {
|
||||
|
|
|
@ -2811,7 +2811,7 @@ class ManagerTest extends \Test\TestCase {
|
|||
->willReturn($userFolder);
|
||||
|
||||
$expected = [
|
||||
'users' => ['user1', 'user2'],
|
||||
'users' => ['owner', 'user1', 'user2'],
|
||||
'public' => true,
|
||||
'remote' => true,
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue