Closed Bug 997275 Opened 11 years ago Closed 11 years ago

Build event metrics management interface

Categories

(Mozilla Reps Graveyard :: reps.mozilla.org, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: hoosteeno, Assigned: nemo-yiannis)

References

Details

(Whiteboard: [kb=1339401] )

We're anticipating that bug 997271 will ask for positive integer metrics only. Assuming that let's build a way for the reps council to create/edit/delete event metrics. * As a reps council member (or admin), I should be able to navigate to Portal settings -> Event metrics to see a list of event metrics. I should be able to edit or delete existing ones and add new ones. * As a reps council member (or admin), when I create or edit an event metric, I will be presented with a form that allows me to input the name of a positive-integer metric (example: "Bugs closed"). When I submit the form that metric will be added to the list of metrics a rep can choose when creating an event (note: adding these metrics to event creation will be a separate bug).
Whiteboard: [kb=1339401]
Assignee: nobody → jgiannelos
See the list in https://bugzilla.mozilla.org/show_bug.cgi?id=997271#c3 for the initial list of event metrics.
Commit pushed to master at https://github.com/mozilla/remo https://github.com/mozilla/remo/commit/26ce3fa7ca113e67c65a810a20b4b7b7c977b205 [Fix bug 997275] Build event metrics management interface. * Remove old metrics related_name. * Add EventMetric and EventMetricOutcome models. * Show EventMetric to base content. * Fix /stats/ URL conflict with admin URL. * Register new models to admin. * Minor fixes in new models Meta. * Replace old metrics with new metrics. * Remove unused code from old metrics. * Change templates to handle new metrics. * Minor compatibility fixes between old and new metrics. * Add factory for new metrics
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Version: unspecified → next
Reopening this bug because only admins are able to add/edit new event metrics.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Version: next → unspecified
Commits pushed to master at https://github.com/mozilla/remo https://github.com/mozilla/remo/commit/381b7b9b55392809c485d488fe9b0db390056453 [Fix bug 997275] Add dynamic groups to PermissionMixin. https://github.com/mozilla/remo/commit/02af0eab33ad10e881af2d978190a824bb90eabe Merge pull request #755 from johngian/fix-metrics-permissions [Fix bug 997275] Add dynamic groups to PermissionMixin.
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Version: unspecified → next
Verified on stage. Steps: * Logged in as a Council member (non-admin account). * Added a new event metric through the Portal settings page. * Non-council account produces a permission denied message.
Status: RESOLVED → VERIFIED
Version: next → 435
Product: Mozilla Reps → Mozilla Reps Graveyard
You need to log in before you can comment on or make changes to this bug.