Open saranshgrover opened 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?
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
2 comments:
Alg
should probably have a field for all of its "global" tagstype
field in Tags
@saranshgrover
UserAlgTagLink
would represent a specific user applying a tag to an alg, whereas the global tag would be simply attached to the Alg when it is submitted? Who can add/remove global tags to algs, or can it not be updated at all?enum
if it is a fixed and finite set of types.
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.