瀏覽代碼

Only need to setup root for groupfolders

Signed-off-by: Robin Appelman <robin@icewind.nl>
tags/v25.0.0beta1
Robin Appelman 2 年之前
父節點
當前提交
b36dfd8f11
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. 3
    1
      lib/private/Files/SetupManager.php

+ 3
- 1
lib/private/Files/SetupManager.php 查看文件

@@ -335,7 +335,9 @@ class SetupManager {
* @return IUser|null
*/
private function getUserForPath(string $path) {
if (substr_count($path, '/') < 2) {
if (strpos($path, '/__groupfolders') === 0) {
return null;
} elseif (substr_count($path, '/') < 2) {
if ($user = $this->userSession->getUser()) {
return $user;
} else {

Loading…
取消
儲存