summaryrefslogtreecommitdiffstats
path: root/attachment.cgi
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2005-08-31 01:04:39 +0200
committerbugreport%peshkin.net <>2005-08-31 01:04:39 +0200
commitb93b2208addb1677903ba2901d9c4f22c212086a (patch)
tree67095308835af1eccd3059fa126aefcb11e0363d /attachment.cgi
parent830eca78e2f0e5526ff6d5c9ada3239b9175d4b4 (diff)
downloadbugzilla-b93b2208addb1677903ba2901d9c4f22c212086a.tar.gz
bugzilla-b93b2208addb1677903ba2901d9c4f22c212086a.tar.xz
Bug 305126: Fix table locks after removal of derive_groups
Patch by Joel Peshkin <bugreport@peshkin.net> r=lpsolit, a=myk
Diffstat (limited to 'attachment.cgi')
-rwxr-xr-xattachment.cgi10
1 files changed, 4 insertions, 6 deletions
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