mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Include deck shares in sharing mounts
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
c770d33717
commit
53bb44c09f
1 changed files with 2 additions and 0 deletions
|
|
@ -78,6 +78,8 @@ class MountProvider implements IMountProvider {
|
|||
$shares = array_merge($shares, $this->shareManager->getSharedWith($user->getUID(), IShare::TYPE_GROUP, null, -1));
|
||||
$shares = array_merge($shares, $this->shareManager->getSharedWith($user->getUID(), IShare::TYPE_CIRCLE, null, -1));
|
||||
$shares = array_merge($shares, $this->shareManager->getSharedWith($user->getUID(), IShare::TYPE_ROOM, null, -1));
|
||||
$shares = array_merge($shares, $this->shareManager->getSharedWith($user->getUID(), IShare::TYPE_DECK, null, -1));
|
||||
|
||||
|
||||
// filter out excluded shares and group shares that includes self
|
||||
$shares = array_filter($shares, function (\OCP\Share\IShare $share) use ($user) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue