提交 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
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
of this software and associated documentation files (the "Software"), to deal
......@@ -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">
<l:layout norefresh="true">
<st:include page="sidepanel.jelly" />
<l:hasPermission permission="${app.READ}">
<st:include page="sidepanel.jelly" />
</l:hasPermission>
<l:main-panel>
<div style="margin: 2em;">
<!-- login form -->
......@@ -61,4 +63,4 @@ THE SOFTWARE.
</div>
</l:main-panel>
</l:layout>
</j:jelly>
\ No newline at end of file
</j:jelly>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册