*** Bug 1295841 has been marked as a duplicate of this bug. ***
https://github.com/ManageIQ/manageiq/pull/18555
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 ?
https://github.com/ManageIQ/manageiq-ui-classic/pull/5582
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