🔐 Initial change on the public links using anonymous users (#69)
* Initial change on the public links using anonymous users Co-authored-by: Anton Shepilov <anton.shepilov@gmail.com>
This commit is contained in:
@@ -228,7 +228,7 @@ export const getPath = async (
|
||||
): Promise<DriveFile[]> => {
|
||||
id = id || "root";
|
||||
if (isVirtualFolder(id))
|
||||
return !context.public_token || ignoreAccess
|
||||
return !context?.user?.public_token_document_id || ignoreAccess
|
||||
? [
|
||||
{
|
||||
id,
|
||||
|
||||
Reference in New Issue
Block a user