this is handled by the managed case

This commit is contained in:
Girish Ramakrishnan
2018-12-13 10:52:08 -08:00
parent 1429aa1edc
commit b2d18560be

View File

@@ -480,12 +480,6 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca
function fetchAppstoreConfig(callback) {
callback = callback || function (error) { if (error) console.error(error); };
// caas always has a valid appstore account
if ($scope.config.provider === 'caas') {
$scope.validAppstoreAccount = true;
return callback();
}
// non admins cannot read appstore settings in spaces mode
if (!$scope.user.admin && $scope.config.features.spaces) {
$scope.validAppstoreAccount = true;