You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by yu...@apache.org on 2013/08/22 19:21:52 UTC

git commit: AMBARI-2992. NameNode HA: Restrict user from navigating to subsequent step by manually typing URL. (Aleksandr Kovalenko via yusaku)

Updated Branches:
  refs/heads/trunk 20a73bf9d -> ee8942713


AMBARI-2992. NameNode HA: Restrict user from navigating to subsequent step by manually typing URL. (Aleksandr Kovalenko via yusaku)


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

Branch: refs/heads/trunk
Commit: ee89427137f8493bfd194efac8e99b70fbc88d39
Parents: 20a73bf
Author: Yusaku Sako <yu...@hortonworks.com>
Authored: Thu Aug 22 10:21:25 2013 -0700
Committer: Yusaku Sako <yu...@hortonworks.com>
Committed: Thu Aug 22 10:21:25 2013 -0700

----------------------------------------------------------------------
 ambari-web/app/routes/high_availability_routes.js | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/ee894271/ambari-web/app/routes/high_availability_routes.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/routes/high_availability_routes.js b/ambari-web/app/routes/high_availability_routes.js
index 9d45583..53710d2 100644
--- a/ambari-web/app/routes/high_availability_routes.js
+++ b/ambari-web/app/routes/high_availability_routes.js
@@ -72,6 +72,9 @@ module.exports = Em.Route.extend({
         controller.connectOutlet('highAvailabilityWizardStep1', controller.get('content'));
       })
     },
+    unroutePath: function () {
+      return false;
+    },
     next: function (router) {
       var controller = router.get('highAvailabilityWizardController');
       controller.saveNameServiceId(router.get('highAvailabilityWizardStep1Controller.content.nameServiceId'));
@@ -89,6 +92,9 @@ module.exports = Em.Route.extend({
         controller.connectOutlet('highAvailabilityWizardStep2', controller.get('content'));
       })
     },
+    unroutePath: function () {
+      return false;
+    },
     next: function (router) {
       var controller = router.get('highAvailabilityWizardController');
       var highAvailabilityWizardStep2Controller = router.get('highAvailabilityWizardStep2Controller');
@@ -110,6 +116,9 @@ module.exports = Em.Route.extend({
         controller.connectOutlet('highAvailabilityWizardStep3',  controller.get('content'));
       })
     },
+    unroutePath: function () {
+      return false;
+    },
     next: function (router) {
       router.transitionTo('step4');
     },