summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/params/admin.html.tmpl
blob: ee19418c7bf8af1e32b81c22eb1640012df0ecf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[%# The contents of this file are subject to the Mozilla Public
  # License Version 1.1 (the "License"); you may not use this file
  # except in compliance with the License. You may obtain a copy of
  # the License at http://www.mozilla.org/MPL/
  #
  # Software distributed under the License is distributed on an "AS
  # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  # implied. See the License for the specific language governing
  # rights and limitations under the License.
  #
  # The Original Code is the Bugzilla Bug Tracking System.
  #
  # The Initial Developer of the Original Code is Netscape Communications
  # Corporation. Portions created by Netscape are
  # Copyright (C) 1998 Netscape Communications Corporation. All
  # Rights Reserved.
  #
  # Contributor(s): Dave Miller <justdave@bugzilla.org>
  #                 Frédéric Buclin <LpSolit@gmail.com>
  #%]
[%
   title = "Administrative Policies"
   desc = "Set up account policies"
%]

[% rate_limit_rules_desc = BLOCK %]
This parameter is a json object. It has one or more valid keys, whose values are each of an array [MAX_RATE, SECONDS]. MAX_RATE is the maximum
number of requests that can occur over SECONDS. The default is [75, 60] or 75 requests
over 60 seconds. Valid keys are <code>get_b[%''%]ug</code> which covers JSONRPC, XMLRPC, REST and BZAPI single
[% terms.bug %] access methods, and <code>show_b[%''%]ug</code> which controls show [% terms.bug %]
[% END %]

[% param_descs = {
  allowbugdeletion => "The pages to edit products and components can delete all " _
                      "associated $terms.bugs when you delete a product (or component). " _
                      "Since that is a pretty scary idea, you have to turn on " _
                      "this option before any such deletions will ever happen.",

  allowemailchange => "Users can change their own email address through the preferences. " _
                      "Note that the change is validated by emailing both addresses, so " _
                      "switching this option on will not let users use an invalid address.",

  allowuserdeletion => "The user editing pages are capable of letting you delete user accounts. " _
                       "$terms.Bugzilla will issue a warning in case you'd run into inconsistencies " _
                       "when you're about to do so, but such deletions remain kinda scary. " _
                       "So, you have to turn on this option before any such deletions " _
                       "will ever happen."

  last_visit_keep_days => "This option controls how many days $terms.Bugzilla will " _
                          "remember when users visit specific ${terms.bugs}.",

   rate_limit_active => "Allow some types of requests to be rate limited."

   rate_limit_rules => rate_limit_rules_desc

   log_user_requests => "This option controls logging of authenticated requests in the user_request_log table"}
%]