提交 411958ed 编写于 作者: K kohsuke

perform the proper permission check


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6591 71c3de6d-444a-0410-be80-ed276b4c234a
上级 b9a13bf3
......@@ -20,9 +20,9 @@
<j:forEach var="v" items="${app.views}">
<l:tab name="${v.viewName}" active="${v==it}" href="${rootURL}/${v.url}" />
</j:forEach>
<l:isAdmin>
<j:if test="${h.hasPermission(it.CREATE)}">
<l:tab name="+" href="${rootURL}/newView" active="false" />
</l:isAdmin>
</j:if>
</l:tabBar>
</t:projectView>
</j:otherwise>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册