Skip to content

Fix the Releases page for Guest Users

Nathan Friend requested to merge nfriend-fix-guest-user-releases into master

What does this MR do?

Fixes the bug described in #34862 (closed) which prevents Guest users from accessing a private project's Releases page.

Tests

Two tests were added to prevent regressions in the future: a Jest test and an RSpec feature test. The RSpec feature test is simply a smoke test to make sure the page renders for Guest users.

On a related note...

While fixing this issue, I uncovered a similar issue: #213016 (closed).

Screenshots

Before:

Screen_Shot_2020-03-31_at_11.32.22_AM

Screen_Shot_2020-03-31_at_11.32.44_AM

After:

Screen_Shot_2020-03-31_at_11.26.47_AM

Closes #34862 (closed)

Edited by Nathan Friend

Merge request reports