From b93b2208addb1677903ba2901d9c4f22c212086a Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Tue, 30 Aug 2005 23:04:39 +0000 Subject: Bug 305126: Fix table locks after removal of derive_groups Patch by Joel Peshkin r=lpsolit, a=myk --- attachment.cgi | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'attachment.cgi') diff --git a/attachment.cgi b/attachment.cgi index 86cd1698d..c406516a3 100755 --- a/attachment.cgi +++ b/attachment.cgi @@ -1190,12 +1190,10 @@ sub update # cc, bug_group_map, user_group_map, and groups are in here so we # can check the permissions of flag requestees and email addresses # on the flag type cc: lists via the CanSeeBug - # function call in Flag::notify. group_group_map is in here in case - # 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 WRITE', 'profiles WRITE', 'email_setting READ', - 'cc READ', 'bug_group_map READ', 'user_group_map WRITE', + # function call in Flag::notify. group_group_map is in here si + # Bugzilla::User can flatten groups. + 'bugs WRITE', 'profiles READ', 'email_setting READ', + 'cc READ', 'bug_group_map READ', 'user_group_map READ', 'group_group_map READ', 'groups READ'); # Get a copy of the attachment record before we make changes -- cgit v1.2.3-24-g4f1b