summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-04-05 03:40:59 +0200
committerlpsolit%gmail.com <>2005-04-05 03:40:59 +0200
commit6f0e3792941892e2987294fb0866e69630675002 (patch)
tree6679c2d7e51298198dc10f9b85d7947c1416c8f1
parentb53d8ff17217f193e604a50f3a5c37b33fec5e3f (diff)
downloadbugzilla-6f0e3792941892e2987294fb0866e69630675002.tar.gz
bugzilla-6f0e3792941892e2987294fb0866e69630675002.tar.xz
Bug 288883: SQL crash when granting/denying a request - Patch by Frederic Buclin <LpSolit@gmail.com> r=joel a=justdave
-rwxr-xr-xattachment.cgi2
-rwxr-xr-xprocess_bug.cgi2
2 files changed, 2 insertions, 2 deletions
diff --git a/attachment.cgi b/attachment.cgi
index 054c8e62a..65157d740 100755
--- a/attachment.cgi
+++ b/attachment.cgi
@@ -1140,7 +1140,7 @@ sub update
# Bugzilla::User needs to rederive groups. profiles and
# user_group_map would be READ locks instead of WRITE locks if it
# weren't for derive_groups, which needs to write to those tables.
- 'bugs READ', 'profiles WRITE',
+ 'bugs READ', 'profiles WRITE', 'email_setting READ',
'cc READ', 'bug_group_map READ', 'user_group_map WRITE',
'group_group_map READ', 'groups READ');
diff --git a/process_bug.cgi b/process_bug.cgi
index 55835ca3d..55f40bda3 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -1182,7 +1182,7 @@ foreach my $id (@idlist) {
"keyworddefs READ", "groups READ", "attachments READ",
"group_control_map AS oldcontrolmap READ",
"group_control_map AS newcontrolmap READ",
- "group_control_map READ");
+ "group_control_map READ", "email_setting READ");
# Fun hack. @::log_columns only contains the component_id,
# not the name (since bug 43600 got fixed). So, we need to have
# this id ready for the loop below, otherwise anybody can