diff --git a/app/controllers/fixity_dashboard_controller.rb b/app/controllers/fixity_dashboard_controller.rb index ed9d04bd07..aa7368302d 100644 --- a/app/controllers/fixity_dashboard_controller.rb +++ b/app/controllers/fixity_dashboard_controller.rb @@ -6,6 +6,7 @@ def show @failures = query_service.custom_queries.find_fixity_failures.map(&:decorate) @recents = query_service.custom_queries.file_sets_sorted_by_updated(sort: 'desc', limit: 10).map(&:decorate) @upcoming = query_service.custom_queries.file_sets_sorted_by_updated(limit: 20).map(&:decorate) + authorize! :read, :fixity end def metadata_adapter diff --git a/app/views/catalog/_fixity_dashboard_home.html.erb b/app/views/catalog/_fixity_dashboard_home.html.erb index 393e3cbd41..e12eae7f50 100644 --- a/app/views/catalog/_fixity_dashboard_home.html.erb +++ b/app/views/catalog/_fixity_dashboard_home.html.erb @@ -1,12 +1,14 @@ -