ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject [1/2] ambari git commit: AMBARI-16436. Unauthorized user can get access to admin pages by pointing to their URLs. Additional fix for mistype. (alexantonenko)
Date Thu, 12 May 2016 11:29:41 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 270a80989 -> 56f4c618a


AMBARI-16436. Unauthorized user can get access to admin pages by pointing to their URLs. Additional
fix for mistype. (alexantonenko)


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

Branch: refs/heads/trunk
Commit: 56f4c618a7fa6cfc714e429e73d468788740352f
Parents: 0a0009a
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Thu May 12 13:24:28 2016 +0300
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Thu May 12 14:29:36 2016 +0300

----------------------------------------------------------------------
 ambari-web/app/routes/main.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/56f4c618/ambari-web/app/routes/main.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/routes/main.js b/ambari-web/app/routes/main.js
index 5cf68d0..fba3410 100644
--- a/ambari-web/app/routes/main.js
+++ b/ambari-web/app/routes/main.js
@@ -527,7 +527,7 @@ module.exports = Em.Route.extend(App.RouterRedirections, {
     adminServiceAccounts: Em.Route.extend({
       route: '/serviceAccounts',
       enter: function (router, transition) {
-        if (router.get('loggedIn') && !App.isAuthorized('AMBARI.SET_SERVICE_USERS_GROUP'))
{
+        if (router.get('loggedIn') && !App.isAuthorized('AMBARI.SET_SERVICE_USERS_GROUPS'))
{
           router.transitionTo('main.dashboard.index');
         }
       },


Mime
View raw message