cubing / algdb

📚 Algorithm Database
http://algdb.net
GNU General Public License v3.0
22 stars 3 forks source link

Finalize Schema #4

Open saranshgrover opened 4 years ago

saranshgrover commented 4 years ago

Currently schema is based off the old AlgDB. We need to add Tags as well as sub-alg sets, and queries to fetch/search by tags.

big213 commented 4 years ago

Added the tags-related mutations/queries/types in 290dfc335ff60d8cad27c06ae26c26083cbfa814

Feel free to let me know if i missed anything.

For sub-alg sets, should that be a required intermediary between AlgSet and Case? So it would go, AlgSet -> Sub AlgSet -> Case -> Alg?

big213 commented 4 years ago

Added the concept of user roles in 82f0540

ADMIN, MODERATOR, and NORMAL are the 3 roles so far

Admin can update the roles of all users, so they must be extremely trusted

Moderator should have certain abilities to approve stuff

saranshgrover commented 4 years ago

2 comments:

big213 commented 4 years ago

@saranshgrover