konishi-project / konishi

📄 Documentation reposity for Konishi
16 stars 3 forks source link

Database architecture #3

Open dwrolvink opened 5 years ago

dwrolvink commented 5 years ago

@Yatima1460 said:

Before what technology and implementation to use it needs to be discussed 
how to design the database.

If we design everything as a "page" with "permissions" we can achieve 
everything at once:

Profile page (also worth a discussion if needed):
Can be achieved by just creating a page and setting that only you can 
post in it and only friends can see it

(Also the concept of "friends" need to be discussed, following each other?)

Group: a page where everyone can post or just the members, admins also have 
the permission to delete everything

Page: a page is just a group where only admins can post, that's basically how 
VKontakte manages it