Procházet zdrojové kódy

Clarify consequences of disabling the login_required (#27009).

Patch by Holger Just.


git-svn-id: http://svn.redmine.org/redmine/trunk@17310 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.0.0
Go MAEDA před 6 roky
rodič
revize
d1a9d5dbf2

+ 5
- 1
app/views/settings/_authentication.html.erb Zobrazit soubor

@@ -1,7 +1,11 @@
<%= form_tag({:action => 'edit', :tab => 'authentication'}) do %>

<div class="box tabular settings">
<p><%= setting_check_box :login_required %></p>
<p>
<p><%= setting_select :login_required, [[l(:label_login_required_yes), "1"],
[l(:label_login_required_no), "0"]] %>
<em class="info"><%= t(:text_login_required_html, anonymous_role_path: edit_role_path(Role.anonymous)) %></em>
</p>

<p><%= setting_select :autologin, [[l(:label_disabled), 0]] + [1, 7, 30, 365].collect{|days| [l('datetime.distance_in_words.x_days', :count => days), days.to_s]} %></p>


+ 3
- 0
config/locales/de.yml Zobrazit soubor

@@ -1236,3 +1236,6 @@ de:
label_x_revisions: "%{count} revisions"
error_can_not_delete_auth_source: This authentication mode is in use and cannot be
deleted.
text_login_required_html: Ohne erforderliche Authentifizierung sind öffentlichen Projekte und deren Inhalte ohne Anmeldung frei zugänglich. Sie können die <a href="%{anonymous_role_path}">verwendeten Berechtigungen anpassen</a>.
label_login_required_yes: "Ja"
label_login_required_no: "Nein, anonymen Zugriff auf öffentliche Projekte erlauben"

+ 3
- 0
config/locales/en.yml Zobrazit soubor

@@ -1216,3 +1216,6 @@ en:
description_issue_category_reassign: Choose issue category
description_wiki_subpages_reassign: Choose new parent page
text_repository_identifier_info: 'Only lower case letters (a-z), numbers, dashes and underscores are allowed.<br />Once saved, the identifier cannot be changed.'
text_login_required_html: When not requiring authentication, public projects and their contents are openly available on the network. You can <a href="%{anonymous_role_path}">edit the applicable permissions</a>.
label_login_required_yes: "Yes"
label_login_required_no: "No, allow anonymous access to public projects"

Načítá se…
Zrušit
Uložit