Fix access rights in the file app

This commit is contained in:
yflory
2019-01-09 12:15:08 +01:00
parent 6a45f5233e
commit b4aae68c0c
2 changed files with 3 additions and 2 deletions

View File

@@ -285,7 +285,8 @@ define([
additionalPriv.disabledApp = true;
}
if (!Utils.LocalStore.isLoggedIn() &&
AppConfig.registeredOnlyTypes.indexOf(parsed.type) !== -1) {
AppConfig.registeredOnlyTypes.indexOf(parsed.type) !== -1 &&
parsed.type !== "file") {
additionalPriv.registeredOnly = true;
}