Disable various views for non-operators

This commit is contained in:
Girish Ramakrishnan
2018-09-05 14:37:54 -07:00
parent 97b6e4c672
commit 02f04e2d33
10 changed files with 25 additions and 17 deletions

View File

@@ -233,7 +233,8 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N
// derive feature flags from edition
config.features = {
spaces: config.edition === 'education',
hyphenatedSubdomains: config.edition === 'hostingprovider'
hyphenatedSubdomains: config.edition === 'hostingprovider',
operatorActions: config.edition !== 'hostingprovider'
};
angular.copy(config, this._config);