purnima143/Kurakoo

adding checks

Closed this issue · 0 comments

Is your feature request related to a problem? Please describe.

  • currently, a user can upvote/downvote their own ans/qs/comment
  • and a user is allowed to answer a qs that they created

Describe the solution you'd like

  • adding some code to upvote and downvote routes to forbid a user to upvote/downvote their ans/qs/comment
  • and some code to prevent user to answer questions that they created
GSSOC21
Do you want to work on this issue - [Yes/No] - Yes