calebthewood / flask-warbler

0 stars 0 forks source link

Allow “Private” Accounts #8

Open calebthewood opened 2 years ago

calebthewood commented 2 years ago

Add a feature that allows a user to make their account “private”. A private account should normally only the profile page without messages.

You can follow a private account — but that user will need to approve your follow. At the point you are successfully following a private account, you should then be able to see their messages.

Note: this will require some schema changes and thoughtful design. Can you do this in a way that doesn’t sprinkle (even more) if conditions around? Can you add any useful functions on the User or Message classes?