You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2016/08/27 13:55:08 UTC

kylin git commit: KYLIN-1970 Fix UI system menu ACL.

Repository: kylin
Updated Branches:
  refs/heads/master 5ee76e8b5 -> 638880961


KYLIN-1970 Fix UI system menu ACL.

Signed-off-by: Yang Li <li...@apache.org>


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

Branch: refs/heads/master
Commit: 638880961ee745ccc107232f59d8c0055b6fc66b
Parents: 5ee76e8
Author: sanjulian <ju...@hotmail.com>
Authored: Wed Aug 24 15:16:35 2016 +0800
Committer: Yang Li <li...@apache.org>
Committed: Sat Aug 27 21:54:54 2016 +0800

----------------------------------------------------------------------
 webapp/app/partials/header.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/63888096/webapp/app/partials/header.html
----------------------------------------------------------------------
diff --git a/webapp/app/partials/header.html b/webapp/app/partials/header.html
index 6249f51..0e37e63 100644
--- a/webapp/app/partials/header.html
+++ b/webapp/app/partials/header.html
@@ -50,7 +50,7 @@
           <li class="{{activeTab=='jobs'?'purple':'green'}}" ng-if="userService.isAuthorized()">
             <a href="jobs">Monitor</a>
           </li>
-          <li class="{{activeTab=='admin'?'purple':'green'}}" ng-if="userService.isAuthorized()">
+          <li class="{{activeTab=='admin'?'purple':'green'}}" ng-if="userService.hasRole('ROLE_ADMIN')">
             <a href="admin">System</a>
           </li>
         </ul>