- Each organization on create gets a DB created for them.
- Users are added to each org by having an identifier on the user. There is a view for users-by-org.
- Field added to each Org with the name of the DB
- If the user doesn't have an org they are assumed to be app staff
- Each user should be in a channel for the Passages
- Assessments_OrgName
-
Assessment
- QuestionsArray
-
Question
-
Answers
-
/dbname/_view/questions-by-assessment?key="questionId"
questionId: assessmentsArray: []