Closed
Bug 1257662
Opened 8 years ago
Closed 8 years ago
Disallow clearing a flag if the flag is set to allow granting by specifc group and changer is not in group
Categories
(bugzilla.mozilla.org :: Bug Creation/Editing, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dkl, Assigned: dkl)
References
Details
Attachments
(1 file, 1 obsolete file)
4.71 KB,
patch
|
dylan
:
review+
|
Details | Diff | Splinter Review |
Update the code so that if a flag has been granted/denied and the flag has a specific group that is required to do so, only users in the grant group can clear the flag or put back to requested (?). Flags without a specific grant group would behave normally. This came about due to users not being able to set sec-bounty? flag anymore since some were cleared that should not have. dkl
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8731896 -
Flags: review?(dylan)
Comment on attachment 8731896 [details] [diff] [review] 1257662_1.patch Review of attachment 8731896 [details] [diff] [review]: ----------------------------------------------------------------- extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl needs updating too
Attachment #8731896 -
Flags: review-
Comment 3•8 years ago
|
||
Comment on attachment 8731896 [details] [diff] [review] 1257662_1.patch Review of attachment 8731896 [details] [diff] [review]: ----------------------------------------------------------------- No problems yet in the old UI, but glob's right. r-
Attachment #8731896 -
Flags: review?(dylan) → review-
Assignee | ||
Comment 4•8 years ago
|
||
Attachment #8731896 -
Attachment is obsolete: true
Attachment #8733005 -
Flags: review?(dylan)
Comment 5•8 years ago
|
||
Comment on attachment 8733005 [details] [diff] [review] 1257662_2.patch Review of attachment 8733005 [details] [diff] [review]: ----------------------------------------------------------------- r=dylan works as described. Will this break any tests? (wishing it was easier to run all the tests against a checkout)
Attachment #8733005 -
Flags: review?(dylan) → review+
Assignee | ||
Comment 6•8 years ago
|
||
(In reply to Dylan William Hardison [:dylan] from comment #5) > Comment on attachment 8733005 [details] [diff] [review] > 1257662_2.patch > > Review of attachment 8733005 [details] [diff] [review]: > ----------------------------------------------------------------- > > r=dylan works as described. Will this break any tests? (wishing it was > easier to run all the tests against a checkout) We'll find out. To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git c83c4f7..fc2d539 master -> master dkl
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•