From ef5c875b3ff73218f41c48d4a9e575e0f1214b00 Mon Sep 17 00:00:00 2001 From: Spocke Date: Tue, 12 Mar 2019 09:42:48 +0100 Subject: [PATCH] TD-198: added more detailes about drive root --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index c2e344a..d7f8023 100644 --- a/index.js +++ b/index.js @@ -56,7 +56,8 @@ const setupRoutes = (app) => { exp: Math.floor(Date.now() / 1000) + (60 * 10) // 10 minutes expiration }; - // Scopes the path to a specific user directory + // When this is set the user will only be able to manage and see files in the specified root + // directory. This makes it possible to have a dedicated home directory for each user. if (config.scopeUser) { payload['https://claims.tiny.cloud/drive/root'] = `/${user.username}`; }