Closed Bug 824980 Opened 12 years ago Closed 11 years ago

releases on release kickoff need to be editable or deletable via the web

Categories

(Release Engineering :: Release Automation: Other, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bhearsum, Assigned: bhearsum)

Details

(Whiteboard: [shipit])

Attachments

(2 files)

We hit issues sometimes where the wrong data is entered into release kickoff. Currently, the only way to fix this is to correct the data directly in the DB, or delete the entry directly via the db and try again. We need some way to cope with these situations without db access.
This implements release deletion for releases that aren't marked as complete or ready.
Assignee: nobody → bhearsum
Status: NEW → ASSIGNED
Attachment #696776 - Flags: review?(rail)
Comment on attachment 696776 [details] [diff] [review]
make releases deleteable

lgtm
Attachment #696776 - Flags: review?(rail) → review+
A bunch of this patch is refactoring, namely:
* Moving forms to a common file
* Moving form rendering to an includeable template

The rest is new code + tests + templates to make releases editable. Note that any release that is ready or complete is NOT editable. This is enforced by not giving out links to the edit form for these releases, refusing to render the page if the link was manually constructed, and also by returning a 403 if someone tries to manually POST an edit to such a release.
Attachment #697444 - Flags: review?(rail)
Comment on attachment 697444 [details] [diff] [review]
make releases editable

       _~
    _~ )_)_~
    )_))_))_)    it!
    _!__!__!_
    \______t/
  ~~~~~~~~~~~~~
Attachment #697444 - Flags: review?(rail) → review+
Attachment #697444 - Flags: checked-in+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [kickoff] → [shipit]
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: