Closed Bug 95743 Opened 23 years ago Closed 23 years ago

submitting changes with login unsets "roles" checkboxes

Categories

(Bugzilla :: Bugzilla-General, defect, P1)

defect

Tracking

()

RESOLVED FIXED
Bugzilla 2.14

People

(Reporter: myk, Assigned: myk)

Details

Attachments

(1 file)

Submit a change while not logged in, then log in to an account with access to at
least one bug group.  The "roles" checkboxes that govern whether or not the
reporter, assignee, qa contact, and cc list can always see the bug get unset.

This is because process_bug assumes the user saw those checkboxes and unset them
if the user has access to a bug group, but the user would not have seen those
checkboxes if they were not logged in when initially viewing the bug.
b.m.o shakedown.

FYI, this affects group bits, too, not just the roles checkboxes.  We haven't
seen it happen yet, but examination of the relevant code indicates that the
group checkboxes will fall victim to this same problem.
Priority: -- → P1
Target Milestone: --- → Bugzilla 2.14
CCing some people that have done work with the group / checkbox code recently
CCing some people that have done work with the group / checkbox code recently
I've seen this happen at bug 68045.

brendan@mozilla.org changed:

                           What    |Removed                     |Added
               
----------------------------------------------------------------------------
                assignee_accessible|1                           |0
                  cclist_accessible|1                           |0
                qacontact_accessibl|1                           |0
                                  e|                            |
                reporter_accessible|1                           |0
This patch also removes some debugging code I forgot to remove in the patch for
bug 66235.
r= justdave
checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Moving to Bugzilla product
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
Version: Bugzilla 2.13 → unspecified
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: