Merge pull request #18739 from nextcloud/fix/18712/do-not-check-inherited-shares-on-current-node
[inherited shares] do not retrieve shares on current folder
This commit is contained in:
commit
c08a949881
|
@ -865,8 +865,8 @@ class ShareAPIController extends OCSController {
|
|||
/** @var Node[] $nodes */
|
||||
$nodes = [];
|
||||
while ($node->getPath() !== $basePath) {
|
||||
$nodes[] = $node;
|
||||
$node = $node->getParent();
|
||||
$nodes[] = $node;
|
||||
}
|
||||
|
||||
// for each nodes, retrieve shares.
|
||||
|
|
Loading…
Reference in New Issue