Closed Bug 261303 Opened 21 years ago Closed 18 years ago

add/delete keywords before checking user's authorization to change field

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

2.19
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: myk, Unassigned)

Details

Per bug 252638, comment 10, a more robust way of authorizing users to edit keywords that might plug some unknown security holes and make it more difficult to accidentally expose others would be to do all the adding/deleting of keywords before we reach CheckCanChangeField (when users add or delete keywords instead of setting keywords to an exact value) so that by the time we authorize the change we are just setting keywords to an exact value don't have to make a funky CheckCanChangeField call for this special case. Marking secure and making depend on bug 252638 until that bug goes public, after which this bug can be made public as well and its dependency on that bug broken.
(In reply to comment #0) > Marking secure and making depend on bug 252638 until that bug goes public, after > which this bug can be made public as well and its dependency on that bug broken. Advisory for bug 252638 has posted. Clearing security flag and clearing dependency.
Group: webtools-security
No longer depends on: 252638
QA Contact: mattyt-bugzilla → default-qa
Assignee: myk → create-and-change
$bug->modify_keywords() handles all this correctly and calls check_can_change_field() itself if it detects any change.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.