-
- Downloads
Restrict branches visible to guests in Issue feed
Notes related to branch creation should not be shown in an issue's activity feed when the user doesn't have access to :download_code.
Showing
- app/models/note.rb 14 additions, 1 deletionapp/models/note.rb
- changelogs/unreleased/security-filter-related-branches-from-activity-feed.yml 6 additions, 0 deletions...d/security-filter-related-branches-from-activity-feed.yml
- spec/controllers/projects/issues_controller_spec.rb 37 additions, 0 deletionsspec/controllers/projects/issues_controller_spec.rb
- spec/models/note_spec.rb 64 additions, 0 deletionsspec/models/note_spec.rb
Please register or sign in to comment