replace operatorActions with managed
This commit is contained in:
+3
-2
@@ -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
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user