Bug 1295839
Summary: | [RFE][M-5] Option to automatically reset all users dashboards | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Josh Carter <jocarter> |
Component: | UI - OPS | Assignee: | Harpreet Kataria <hkataria> |
Status: | CLOSED ERRATA | QA Contact: | Jaroslav Henner <jhenner> |
Severity: | medium | Docs Contact: | Red Hat CloudForms Documentation <cloudforms-docs> |
Priority: | medium | ||
Version: | unspecified | CC: | bmidwood, dmetzger, fdewaley, hkataria, jhardy, lavenel, mfeifer, mpovolny, ndhandre, obarenbo, sbulage, simaishi, yrudman |
Target Milestone: | GA | Keywords: | FutureFeature, RFE |
Target Release: | 5.11.0 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | 5.11.0.6 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-12-12 13:33:19 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | Feature | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | CFME Core | Target Upstream Version: | |
Embargoed: |
Comment 2
Josh Carter
2016-01-06 20:36:55 UTC
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/b1a170546971e942551b9fe4a71ba05878c010ef commit b1a170546971e942551b9fe4a71ba05878c010ef Author: Yuri Rudman <yrudman> AuthorDate: Thu Mar 14 10:53:29 2019 -0400 Commit: Yuri Rudman <yrudman> CommitDate: Thu Mar 14 10:53:29 2019 -0400 added ability to delete all user specific dashboards Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1295839 app/models/miq_widget_set.rb | 4 + 1 file changed, 4 insertions(+) Loic, do you want to add this functionality (remove all user's versions of dashboards) to be added to UI or executing from rails console `MiqWidgetSet.destroy_user_versions` is sufficient ? New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/c208c6991d771c2f3b9aefef48d6bfb32fa733bc commit c208c6991d771c2f3b9aefef48d6bfb32fa733bc Author: Harpreet Kataria <hkataria> AuthorDate: Mon Apr 15 22:38:04 2019 -0400 Commit: Harpreet Kataria <hkataria> CommitDate: Mon Apr 15 22:38:04 2019 -0400 Reset user's dashboard upon login Added a new checkbox "Reset Dashboard upon login" on Group Dashboard add/edit form, if that's set to true when user logs in, their dashboard will be reset and they will loose any changes(i.e add/remove widgets) they have made during their previous session and dashboard will be reset to user's group dashboard. This resolves a case where Admin has edited a group's dashboard and would like the changes to take effect without relying on the user to issue a reset of their dashboard. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1295839 app/controllers/dashboard_controller.rb | 6 +- app/controllers/report_controller/dashboards.rb | 6 + app/views/report/_db_form.html.haml | 6 + app/views/report/_db_show.html.haml | 6 + spec/controllers/dashboard_controller_spec.rb | 71 +- 5 files changed, 70 insertions(+), 25 deletions(-) I created a dashboard and left the Rest Dashboard upon login disabled. I displayed and then added a widget to the dashboard. The widget survived the login and logout. When I checked the Reset Dashboard... field, the new widget disappeared after logout/login. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:4199 |