KYLIN-1970 Fix UI system menu ACL.

Signed-off-by: Yang Li <liy...@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/1.5.x-CDH5.7
Commit: 638880961ee745ccc107232f59d8c0055b6fc66b
Parents: 5ee76e8
Author: sanjulian <julian....@hotmail.com>
Authored: Wed Aug 24 15:16:35 2016 +0800
Committer: Yang Li <liy...@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>

Reply via email to