]> source.dussan.org Git - sonarqube.git/commit
SONAR-3460 fix default dashboards
authorDavid Gageot <david@gageot.net>
Thu, 24 May 2012 08:13:12 +0000 (10:13 +0200)
committerDavid Gageot <david@gageot.net>
Thu, 24 May 2012 10:50:27 +0000 (12:50 +0200)
commit8b4e95d423875d4317a4777f4c972c571fd2e291
tree9c526445714710aac57aaf3ecb36ac56a62682f1
parent53019c73114de5897530ec6030b0442de84bde4f
SONAR-3460 fix default dashboards

There is one use which was not correctly covered :
 + A user has tuned his list Filters but not his list of project
   dashboards
 + During migration to Sonar 3.1, his dedicated list of global
   dashboards is created (in the active_dashboards table) but this list
   doesn't contain the list of project dashboard
 + So as soon as this user creates its own project dashboard, all the
   other project dashboards are no more displayed for this user
sonar-server/src/main/webapp/WEB-INF/app/controllers/admin_dashboards_controller.rb
sonar-server/src/main/webapp/WEB-INF/app/controllers/dashboards_controller.rb
sonar-server/src/main/webapp/WEB-INF/app/models/active_dashboard.rb
sonar-server/src/main/webapp/WEB-INF/app/models/dashboard.rb
sonar-server/src/main/webapp/WEB-INF/app/views/dashboards/index.html.erb