-
- Downloads
Merge branch 'prevent_authored_awardable_votes' into 'master'
prevent authored awardable thumbs votes ## What does this MR do? This MR should prevent users from upvoting or downvoting issues/merge requests/notes authored by them. ## What are the relevant issue numbers? Closes #20913 See merge request !5841
No related branches found
No related tags found
Showing
- app/controllers/concerns/toggle_award_emoji.rb 7 additions, 3 deletionsapp/controllers/concerns/toggle_award_emoji.rb
- app/models/concerns/awardable.rb 12 additions, 0 deletionsapp/models/concerns/awardable.rb
- app/models/concerns/issuable.rb 4 additions, 0 deletionsapp/models/concerns/issuable.rb
- app/models/note.rb 4 additions, 0 deletionsapp/models/note.rb
- lib/api/award_emoji.rb 5 additions, 1 deletionlib/api/award_emoji.rb
- spec/features/issues/award_emoji_spec.rb 0 additions, 1 deletionspec/features/issues/award_emoji_spec.rb
- spec/requests/api/award_emoji_spec.rb 17 additions, 1 deletionspec/requests/api/award_emoji_spec.rb
Please register or sign in to comment