ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akovale...@apache.org
Subject ambari git commit: AMBARI-14761. User loses all privileges after page refresh on Install Wizard (akovalenko)
Date Fri, 22 Jan 2016 14:08:18 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 6f6a7ce72 -> 209724a2c


AMBARI-14761. User loses all privileges after page refresh on Install Wizard (akovalenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/209724a2
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/209724a2
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/209724a2

Branch: refs/heads/trunk
Commit: 209724a2c7115bd44b0fd3b8f3507090b40b5a67
Parents: 6f6a7ce
Author: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Authored: Fri Jan 22 16:01:46 2016 +0200
Committer: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Committed: Fri Jan 22 16:07:52 2016 +0200

----------------------------------------------------------------------
 ambari-web/app/models/cluster_states.js | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/209724a2/ambari-web/app/models/cluster_states.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/cluster_states.js b/ambari-web/app/models/cluster_states.js
index 17ea6c1..936cd11 100644
--- a/ambari-web/app/models/cluster_states.js
+++ b/ambari-web/app/models/cluster_states.js
@@ -108,6 +108,7 @@ App.clusterStatus = Em.Object.create(App.UserPref, {
     this.set('additionalData', {
       user: App.db.getUser(),
       login: App.db.getLoginName(),
+      auth: App.db.getAuth(),
       overrideLocaldb: !overrideLocaldb
     });
     return this.getUserPref(this.get('key'));
@@ -146,6 +147,7 @@ App.clusterStatus = Em.Object.create(App.UserPref, {
           App.db.setLocalStorage();
           App.db.setUser(params.data.user);
           App.db.setLoginName(params.data.login);
+          App.db.setAuth(params.data.auth);
           App.db.setAuthenticated(authenticated);
           App.db.data.app.tables = localdbTables;
         }


Mime
View raw message