replace operatorActions with managed

This commit is contained in:
Girish Ramakrishnan
2018-10-30 21:07:37 -07:00
parent 2e6a0411fb
commit 92660e037d
10 changed files with 17 additions and 16 deletions
+3 -2
View File
@@ -228,9 +228,10 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N
var that = this;
// derive feature flags from edition
config.isManaged = config.edition === 'hostingprovider' || config.provider === 'caas';
config.features = {
spaces: config.edition === 'education',
operatorActions: config.edition !== 'hostingprovider'
spaces: config.edition === 'education'
};
angular.copy(config, this._config);
+1 -1
View File
@@ -175,7 +175,7 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
$scope.initialized = true;
if ($scope.user.admin && $scope.config.features.operatorActions) {
if (!$scope.managed) {
runConfigurationChecks();
$scope.fetchAppstoreProfileAndSubscription(function (error) {