Add note that access control allows SFTP access

This commit is contained in:
Girish Ramakrishnan
2019-05-24 10:15:05 -07:00
parent d6096d04d9
commit 6c8c7751fd
2 changed files with 17 additions and 8 deletions

View File

@@ -48,6 +48,7 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
alternateSubdomain: '',
alternateDomain: null,
ssoAuth: false,
ftp: false,
tags: '',
label: '',
icon: { file: null, data: null, url: null },
@@ -81,6 +82,7 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
$scope.appConfigure.label = app.label || '';
$scope.appConfigure.ssoAuth = (app.manifest.addons['ldap'] || app.manifest.addons['oauth']) && app.sso;
$scope.appConfigure.ftp = app.manifest.addons.localstorage && app.manifest.addons.localstorage.ftp;
// create ticks starting from manifest memory limit. the memory limit here is currently split into ram+swap (and thus *2 below)
// TODO: the *2 will overallocate since 4GB is max swap that cloudron itself allocates
@@ -481,6 +483,7 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
$scope.appConfigure.accessRestrictionOption = 'any';
$scope.appConfigure.accessRestriction = { users: [], groups: [] };
$scope.appConfigure.ssoAuth = false;
$scope.appConfigure.ftp = false;
$scope.appConfigure.robotsTxt = '';
$scope.appConfigure.enableBackup = true;
$scope.appConfigure.enableAutomaticUpdate = true;