-
- Downloads
Merge branch 'fix/git-access-wiki-when-repository-feature-disabled' into 'master'
Fixes access to the wiki code with git when repository feature disabled ## What does this MR do? Allow access to the wiki repository with git when the repository feature is disabled. ## Why was this MR needed? Without this fix, if you create a wiki only project you are not allowed to download the wiki code from this project. ## Does this MR meet the acceptance criteria? - [X] [Changelog entry](https://docs.gitlab.com/ce/development/changelog.html) added - [ ] ~~[Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)~~ - [ ] ~~API support added~~ - Tests - [X] Added for this feature/bug - [ ] All builds are passing - [X] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html) - [X] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [ ] Branch has no merge conflicts with `master` (if it does - rebase it please) - [X] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) ## What are the relevant issue numbers? Fixes #24931 See merge request !7832
No related branches found
No related tags found
Showing
- app/policies/project_policy.rb 3 additions, 0 deletionsapp/policies/project_policy.rb
- changelogs/unreleased/fix-git-access-wiki-when-repository-feature-disabled.yml 4 additions, 0 deletions.../fix-git-access-wiki-when-repository-feature-disabled.yml
- lib/gitlab/git_access.rb 5 additions, 1 deletionlib/gitlab/git_access.rb
- lib/gitlab/git_access_wiki.rb 8 additions, 0 deletionslib/gitlab/git_access_wiki.rb
- spec/lib/gitlab/git_access_wiki_spec.rb 25 additions, 0 deletionsspec/lib/gitlab/git_access_wiki_spec.rb
- spec/policies/project_policy_spec.rb 12 additions, 2 deletionsspec/policies/project_policy_spec.rb
Please register or sign in to comment