From dace6ab711a16731f1015cd9bd47f12f25165212 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 30 Oct 2013 15:29:08 +0800 Subject: Bug 927778: users without canconfirm cannot set needinfo, and can clear needinfo requests which aren't targeted at them --- .../en/default/hook/global/user-error-errors.html.tmpl | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 extensions/Needinfo/template/en/default/hook/global/user-error-errors.html.tmpl (limited to 'extensions/Needinfo/template/en/default/hook/global/user-error-errors.html.tmpl') diff --git a/extensions/Needinfo/template/en/default/hook/global/user-error-errors.html.tmpl b/extensions/Needinfo/template/en/default/hook/global/user-error-errors.html.tmpl new file mode 100644 index 000000000..f1241bc61 --- /dev/null +++ b/extensions/Needinfo/template/en/default/hook/global/user-error-errors.html.tmpl @@ -0,0 +1,13 @@ +[%# 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. + #%] + +[% IF error == "needinfo_illegal_change" %] + [% title = 'Needinfo Illegal Change' %] + Only the requestee or a user with the required permissions can clear a + needinfo flag. +[% END %] -- cgit v1.2.3-24-g4f1b