Closed
Bug 1346162
Opened 7 years ago
Closed 7 years ago
Needinfo is not checked for users that don't have canconfirm
Categories
(bugzilla.mozilla.org :: Extensions, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: mayhemer, Assigned: seban)
References
Details
Attachments
(2 files)
Scenario: - a "New to bugzilla" user reports a bug - I ask the user for some info (logs, retest etc) and raise NI on him/her - the reporter answers, but the NI flag is left raised I don't think users deliberately uncheck the "Clear the needinfo request for" checkbox. Rather is something wrong with the UI. I can see this mainly with new users. No idea if this is caused by the new UI or something else. Could it be that such a user refreshes the page with F5, which doesn't update fields on the page to reflect the current bug state and the "Clear the needinfo request for" check box is left unchecked from some reason?
Reporter | ||
Comment 1•7 years ago
|
||
An example comment where NI was not dropped: https://bugzilla.mozilla.org/show_bug.cgi?id=1344086#c6
Comment 3•7 years ago
|
||
Yep, it seems to not be checked if the account doesn't have editbugs
Updated•7 years ago
|
Summary: For some users needinfo to them doesn't drop automatically when they answer a comment → Needinfo is not checked for users that don't have editbugs
Reporter | ||
Comment 5•7 years ago
|
||
Thanks Dylan!
Comment 6•7 years ago
|
||
It's actually 'canconfirm', not 'editbugs' but 'editbugs' automatically gives you 'canconfirm' which explains your change. https://github.com/mozilla-bteam/bmo/blob/master/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl#L161 What it should use maybe is ($flag->requestee->id == $user->id || $user->in_group('canconfirm')) since the requestee should be able to clear their own needinfo at least. dkl
Is this a regression from the old bug page?
Flags: needinfo?(ech)
Severity: normal → enhancement
Whiteboard: [modal-enhancements]
Updated•7 years ago
|
Whiteboard: [modal-enhancements]
Updated•7 years ago
|
Summary: Needinfo is not checked for users that don't have editbugs → Needinfo is not checked for users that don't have canconfirm
Comment 9•7 years ago
|
||
Updated•7 years ago
|
Assignee: nobody → sebastinssanty
Comment 10•7 years ago
|
||
Comment on attachment 8846938 [details] [review] github pull request r=dylan
Attachment #8846938 -
Flags: review+
Comment 11•7 years ago
|
||
To git@github.com:mozilla-bteam/bmo.git ac85576..5bfe41d master -> master
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Comment 12•7 years ago
|
||
Hey dylanAtHome, can you check if this is working now?
Flags: needinfo?(dylan)
Updated•7 years ago
|
Status: RESOLVED → VERIFIED
Updated•5 years ago
|
Assignee: sebastinssanty → nobody
Component: Extensions: Needinfo → Extensions
Updated•5 years ago
|
Assignee: nobody → sebastinssanty
You need to log in
before you can comment on or make changes to this bug.
Description
•