Fix: Guest sees some repository details and gets 404
What does this MR do?
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/24056
What are the relevant issue numbers?
Closes #24056 (closed)
Merge request reports
Activity
Mentioned in issue #24056 (closed)
@felipe_artur can you review this please?
Reassigned to @felipe_artur
@smcgivern Right solution!
Just need specs. I think better place to add them is to
spec/features/projects/features_visibility_spec.rb
.Thanks @vsizov
Edited by Felipe ArturReassigned to @vsizov
I thought we only test happy path with "spec/features". On the other hand I see that we already tested negative cases there...
Edited by Valery SizovI looked at that
spec/features/projects/features_visibility_spec.rb
and it's a bit confusing to me that we test permissions in feature specs, I think it should be controller's specs instead as they are a lot cheaper. More over we usejs: true
thereEdited by Valery SizovAdded 50 commits:
-
1b40f153...90072d61 - 49 commits from branch
master
- 656429b3 - Fix: Guest sees some repository details and gets 404
-
1b40f153...90072d61 - 49 commits from branch
Added 1 commit:
- 7f7c1719 - Fix: Guest sees some repository details and gets 404
Reassigned to @smcgivern
Enabled an automatic merge when the build for 7f7c1719 succeeds
@adamniedzielski I just restarted it
Added 115 commits:
-
7f7c1719...73ab9ba5 - 114 commits from branch
master
- dcd70453 - Fix: Guest sees some repository details and gets 404
-
7f7c1719...73ab9ba5 - 114 commits from branch
Enabled an automatic merge when the build for dcd70453 succeeds
Mentioned in commit 856ef3c3
mentioned in issue #26064 (moved)