summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-03-15 21:25:38 +0100
committerDylan William Hardison <dylan@hardison.net>2017-03-15 21:25:38 +0100
commitdfb694156c4b1c7c1dd4cc09ede1f9afd82f2408 (patch)
treee2b9f973f00e6faeeb6e4c57504f529f69b53661
parentd7dacb94bd6fd26f80b1a7932a043a3d2219be79 (diff)
downloadbugzilla-dfb694156c4b1c7c1dd4cc09ede1f9afd82f2408.tar.gz
bugzilla-dfb694156c4b1c7c1dd4cc09ede1f9afd82f2408.tar.xz
Bug 1347237 - get_permissions.html is missing
-rw-r--r--extensions/BMO/template/en/default/hook/global/user-error-error_message.html.tmpl4
-rw-r--r--extensions/BMO/template/en/default/pages/get_permissions.html.tmpl44
2 files changed, 46 insertions, 2 deletions
diff --git a/extensions/BMO/template/en/default/hook/global/user-error-error_message.html.tmpl b/extensions/BMO/template/en/default/hook/global/user-error-error_message.html.tmpl
index d5f0058ea..c7fb31009 100644
--- a/extensions/BMO/template/en/default/hook/global/user-error-error_message.html.tmpl
+++ b/extensions/BMO/template/en/default/hook/global/user-error-error_message.html.tmpl
@@ -9,8 +9,8 @@
[% IF error == 'illegal_change' || error == 'illegal_change_deps' %]
<p>
If you are attempting to confirm an unconfirmed [% terms.bug %] or edit the
- fields of a [% terms.bug %], <a href="https://wiki.mozilla.org/BMO/UserGuide#Permissions_and_Groups">
- find out how to get the necessary permissions</a>.
+ fields of a [% terms.bug %], <a href="page.cgi?id=get_permissions.html">find
+ out how to get the necessary permissions</a>.
</p>
[% END %]
diff --git a/extensions/BMO/template/en/default/pages/get_permissions.html.tmpl b/extensions/BMO/template/en/default/pages/get_permissions.html.tmpl
new file mode 100644
index 000000000..c62286af3
--- /dev/null
+++ b/extensions/BMO/template/en/default/pages/get_permissions.html.tmpl
@@ -0,0 +1,44 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+[% PROCESS global/header.html.tmpl
+ title = "Upgrade Permissions"
+%]
+
+<h3>How to apply for upgraded permissions</h3>
+
+<p>
+ If you want <kbd>canconfirm</kbd>, you can add it yourself using
+ the <a href="page.cgi?id=triage_request.html">triage request form</a>.
+</p>
+
+<p>
+ If you want <kbd>editbugs</kbd>, email <a href="mailto:bmo-perms@mozilla.org">
+ bmo-perms@mozilla.org</a> either:
+ <ul>
+ <li>
+ The URLs of two [% terms.bugs %] to which you have attached patches
+ or testcases; or
+ </li>
+ <li>
+ The URLs of the relevant comment on three [% terms.bugs %] which you
+ wanted to change, but couldn't, and so added a comment instead.
+ </li>
+ </ul>
+</p>
+
+<p>
+ <kbd>editbugs</kbd> implies <kbd>canconfirm</kbd>; there's no need to apply for both.
+</p>
+
+<p>
+ Don't forget to include your [% terms.Bugzilla %] ID if it's not the email address
+ you are emailing from.
+</p>
+
+[% PROCESS global/footer.html.tmpl %]