Reputation: 139
I'm designing a RDBMS for a project and having some confusion around the privacy design. Here's the scenario
Users have projects,
Projects have posts (these post made by the users),
Some posts cannot be seen by other users
How do we implement privacy for the posts? (some sort of post like facebook where you can choose who can see it)
EER diagram below..
any idea is appreciated, thanks!
Upvotes: 2
Views: 987
Reputation: 126
You could add table like "post_access" with two columns post_id and user_id.
There are some possible tricks to prevent fast growing of this table:
Upvotes: 4