-
- Downloads
Merge branch 'fix/private-references' into 'master'
Show referenced MRs & Issues only when the current viewer can access them This addresses both issues identified in #6066. ## The private MR by user `remy2` with a note referencing to a public issue  --- ## The public issue viewed by user `remy` **who doesn't have access to `remy2/private-project`** before the fix  --- ## The public issue viewed by user `remy` **who doesn't have access to `remy2/private-project`** with the fix  --- ## The public issue viewed by user `remy2` with the fix (no change)  See merge request !2405
No related branches found
No related tags found
Showing
- CHANGELOG 1 addition, 0 deletionsCHANGELOG
- app/controllers/projects/issues_controller.rb 1 addition, 1 deletionapp/controllers/projects/issues_controller.rb
- app/models/issue.rb 2 additions, 2 deletionsapp/models/issue.rb
- app/models/note.rb 4 additions, 0 deletionsapp/models/note.rb
- app/views/projects/notes/_notes.html.haml 4 additions, 0 deletionsapp/views/projects/notes/_notes.html.haml
- features/project/issues/references.feature 33 additions, 0 deletionsfeatures/project/issues/references.feature
- features/project/merge_requests/references.feature 31 additions, 0 deletionsfeatures/project/merge_requests/references.feature
- features/steps/project/issues/references.rb 7 additions, 0 deletionsfeatures/steps/project/issues/references.rb
- features/steps/project/merge_requests/references.rb 7 additions, 0 deletionsfeatures/steps/project/merge_requests/references.rb
- features/steps/shared/issuable.rb 134 additions, 0 deletionsfeatures/steps/shared/issuable.rb
- features/steps/shared/note.rb 4 additions, 0 deletionsfeatures/steps/shared/note.rb
- features/steps/shared/project.rb 29 additions, 12 deletionsfeatures/steps/shared/project.rb
- lib/api/notes.rb 19 additions, 2 deletionslib/api/notes.rb
- spec/models/note_spec.rb 24 additions, 0 deletionsspec/models/note_spec.rb
- spec/requests/api/notes_spec.rb 52 additions, 0 deletionsspec/requests/api/notes_spec.rb
features/project/issues/references.feature
0 → 100644
features/steps/project/issues/references.rb
0 → 100644
Please register or sign in to comment