Closed
Bug 1237264
Opened 8 years ago
Closed 8 years ago
passing invalid json when updating a permission causes the field to become null
Categories
(Release Engineering Graveyard :: Applications: Balrog (backend), defect)
Release Engineering Graveyard
Applications: Balrog (backend)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Assigned: bhearsum)
Details
Attachments
(2 files)
44 bytes,
text/x-github-pull-request
|
rail
:
review+
bhearsum
:
checked-in+
|
Details | Review |
41 bytes,
text/x-github-pull-request
|
rail
:
review+
bhearsum
:
checked-in+
|
Details | Review |
This is pretty bad, as a simple typo can end up granting wider access than intended. The permissions update/create endpoints should be throwing errors about this rather than silently accepting it.
Updated•8 years ago
|
Attachment #8707072 -
Flags: review?(rail) → review+
Updated•8 years ago
|
Attachment #8707074 -
Flags: review?(rail) → review+
Comment 3•8 years ago
|
||
Commit pushed to master at https://github.com/mozilla/balrog https://github.com/mozilla/balrog/commit/9a9142540c4890784905d70a381245f6fddb1f4a Merge pull request #43 from bhearsum/options-loss bug 1237264: passing invalid json when updating a permission causes the field to become null
Assignee | ||
Updated•8 years ago
|
Attachment #8707072 -
Flags: checked-in+
Assignee | ||
Comment 4•8 years ago
|
||
Comment on attachment 8707074 [details] [review] fix options handling/validation Landed both patches here. Will go to prod after a few other changes have been queued up.
Attachment #8707074 -
Flags: checked-in+
Assignee | ||
Comment 5•8 years ago
|
||
This went to production today, because I had to fix up an unfinished push from last week.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Comment 6•8 years ago
|
||
Commits pushed to master at https://github.com/mozilla/balrog https://github.com/mozilla/balrog/commit/73c457b73a0862b03f7b2c5fbeee382f7f563d3d [balrog-ui] Merge pull request #15 from bhearsum/permission-error bug 1237264: Fix error showing when updating permissions. https://github.com/mozilla/balrog/commit/af33f3722b264f6241308b8c6bded8759cc42525 [balrog-ui] Rebuild UI to pick up bug 1237264.
Updated•4 years ago
|
Product: Release Engineering → Release Engineering Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•