Repository: ambari
Updated Branches:
  refs/heads/trunk f3659cce6 -> 5b89dc752


http://git-wip-us.apache.org/repos/asf/ambari/blob/5b89dc75/ambari-web/app/mixins/common/userPref.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mixins/common/userPref.js 
b/ambari-web/app/mixins/common/userPref.js
index 5a531f2..54afe4a 100644
--- a/ambari-web/app/mixins/common/userPref.js
+++ b/ambari-web/app/mixins/common/userPref.js
@@ -80,7 +80,7 @@ App.UserPref = Em.Mixin.create({
    * @param {Object} value
    */
   postUserPref: function (key, value) {
-    if (!App.isAuthorized('CLUSTER.UPGRADE_DOWNGRADE_STACK')) {
+    if (!App.isAuthorized('CLUSTER.MANAGE_USER_PERSISTED_DATA')) {
       return $.Deferred().reject().promise();
     }
     var keyValuePair = {};

Reply via email to