|
@@ -55,7 +55,7 @@ App.UpgradeVersionBoxView = Em.View.extend({
|
|
|
}.property('App.upgradeState', 'content.displayName', 'controller.upgradeVersion'),
|
|
|
|
|
|
isRepoUrlsEditDisabled: function () {
|
|
|
- return ['INSTALLING', 'UPGRADING'].contains(this.get('content.status')) || this.get('isUpgrading');
|
|
|
+ return ['INSTALLING', 'UPGRADING'].contains(this.get('content.status')) || this.get('isUpgrading') || (!App.isAuthorized('AMBARI.MANAGE_STACK_VERSIONS') && this.get('content.status') === 'CURRENT');
|
|
|
}.property('content.status', 'isUpgrading'),
|
|
|
|
|
|
/**
|