提交 d5be0964 编写于 作者: M mindless

omit sidepanel if no app.READ permission


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33566 71c3de6d-444a-0410-be80-ed276b4c234a
上级 b7fb1570
<!-- <!--
The MIT License The MIT License
Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal
...@@ -24,7 +24,9 @@ THE SOFTWARE. ...@@ -24,7 +24,9 @@ THE SOFTWARE.
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"> <j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<l:layout norefresh="true"> <l:layout norefresh="true">
<st:include page="sidepanel.jelly" /> <l:hasPermission permission="${app.READ}">
<st:include page="sidepanel.jelly" />
</l:hasPermission>
<l:main-panel> <l:main-panel>
<div style="margin: 2em;"> <div style="margin: 2em;">
<!-- login form --> <!-- login form -->
...@@ -61,4 +63,4 @@ THE SOFTWARE. ...@@ -61,4 +63,4 @@ THE SOFTWARE.
</div> </div>
</l:main-panel> </l:main-panel>
</l:layout> </l:layout>
</j:jelly> </j:jelly>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册