Skip to content

Commit

Permalink
[JENKINS-21254] Do not offer to let anonymous users without Overall/R…
Browse files Browse the repository at this point in the history
…ead submit translations from the /login page.
  • Loading branch information
jglick committed Jan 7, 2014
1 parent 5e2955a commit b39189f
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -23,6 +23,7 @@ THE SOFTWARE.
-->

<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout">
<l:hasPermission permission="${app.READ}">
<!-- content of the dialog will be populated when the dialog is opened -->
<div id='l10n-dialog' class='dialog' />
<div id="l10n-footer" style="display:none; float:left">
Expand Down Expand Up @@ -50,4 +51,5 @@ THE SOFTWARE.
return false; <!-- cancel the event -->
}
</script>
</j:jelly>
</l:hasPermission>
</j:jelly>

0 comments on commit b39189f

Please sign in to comment.