Monday, 1 February 2016

Advice on blocking users

What's a good way to go about making a user blocking system? I can't seem to wrap my head around how to make users be able to block each other from seeing anything the blocker has created. The only thing I could think of was to add a blocked list on both the blocked and the blocker's user model, but that's really all I got. Not sure how I can enforce the block.I'm using MongoDB if that makes any difference.

Submitted February 01, 2016 at 06:23PM by tom5191

No comments:

Post a Comment