Closed davidcam-src closed 1 week ago
17 files ±0 17 suites ±0 2h 16m 19s :stopwatch: - 3m 12s 6 705 tests +1 6 408 :white_check_mark: +2 297 :zzz: ±0 0 :x: - 1 13 178 runs +3 12 783 :white_check_mark: +4 395 :zzz: ±0 0 :x: - 1
Results for commit cc3730f4. ± Comparison against base commit 52af985f.
:recycle: This comment has been updated with latest results.
Fixes
Fixes #6821
Summary
If a user attempts to work reporting analytics but isn't logged in the work_reports_controller attempts to access the ability attribute of current_user which is nil, causing the server to return a 500.
Guidance for testing, such as acceptance criteria or new user interface behaviors:
Criteria: Users should be redirected to the log in page an receive a useful alert if they somehow access the work reporting page while not being signed in
Changes proposed in this pull request:
@samvera/hyrax-code-reviewers