Skip to content
Permalink
Browse files
[JENKINS-21254] Do not offer to let anonymous users without Overall/R…
…ead submit translations from the /login page.
  • Loading branch information
jglick committed Jan 7, 2014
1 parent 5e2955a commit b39189fe6c636e563374c4e61d5e372ebbf951bc
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/main/resources/hudson/plugins/translation/L10nDecorator/footer.jelly
@@ -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">
@@ -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.