View a shared folder with an unregistered user

This commit is contained in:
yflory
2018-10-01 15:17:27 +02:00
parent 17bc1ee703
commit 0a83840c9c
7 changed files with 114 additions and 22 deletions

View File

@@ -838,7 +838,8 @@ define([
var getFileData = _getFileData;
var getUserObjectPath = _getUserObjectPath;
var find = function (Env, path) {
var find = function (Env, path, fId) {
if (fId) { return Env.folders[fId].userObject.find(path); }
var resolved = _resolvePath(Env, path);
return resolved.userObject.find(resolved.path);
};