Make the UI capability based

This commit is contained in:
Girish Ramakrishnan
2018-06-17 18:21:12 -07:00
parent cec1cc7086
commit 4db703aeb1
9 changed files with 32 additions and 30 deletions

View File

@@ -179,7 +179,7 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
$scope.initialized = true;
if ($scope.user.admin) {
if ($scope.user.caps.cloudron) {
runConfigurationChecks();
$scope.fetchAppstoreProfileAndSubscription(function (error) {