From 1f9c83ae81c5c81d005fa0d9a428e23ea5126576 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Tue, 18 Oct 2005 04:19:00 +0000 Subject: Bug 309681 Prevent users from adding another user who shouldn't have access to a bug as assignee or CC member Patch by Gabriel Sales de Oliveira r=joel, a=justdave --- template/en/default/admin/params/groupsecurity.html.tmpl | 5 ++++- template/en/default/global/user-error.html.tmpl | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'template') diff --git a/template/en/default/admin/params/groupsecurity.html.tmpl b/template/en/default/admin/params/groupsecurity.html.tmpl index fe986f387..d4e219a88 100644 --- a/template/en/default/admin/params/groupsecurity.html.tmpl +++ b/template/en/default/admin/params/groupsecurity.html.tmpl @@ -47,5 +47,8 @@ "information.", usevisibilitygroups => "Do you wish to restrict visibility of users to members of " _ - "specific groups?" } + "specific groups?", + + strict_isolation => "Don't allow users to assign, be qa-contacts or add to CC list " _ + "any user that do not have permission to edit the bug." } %] diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 56fedbed3..4de46f958 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -665,6 +665,11 @@ [% title = "Invalid regular expression" %] The regular expression you entered is invalid. + [% ELSIF error == "invalid_user_group" %] + [% title = "Invalid User Group" %] + User '[% user FILTER html %]' is not able to edit the + [% terms.bug %] '[% bug_id FILTER html %]'. + [% ELSIF error == "invalid_username" %] [% title = "Invalid Username" %] The name [% name FILTER html %] is not a valid username. -- cgit v1.2.3-24-g4f1b