Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Add proposed status to study groups #8

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

armooo
Copy link
Contributor

@armooo armooo commented Apr 17, 2014

This changes adds a StudyGroupStatus model and a FK from StudyGroup. It also hides StudyGroups in the proposed status from normal users.

We don't have a DB migration system setup so you need to drop and recreate the database to pick up the schema changes.

armooo added 3 commits April 16, 2014 19:31
Add statueses to groups and default new groups to have the status of
proposed.
Do not list proposed groups to non-admins. Also respond with a 404 to
groups that are proposed to non-admins.
@armooo
Copy link
Contributor Author

armooo commented Apr 18, 2014

I am going to rebase this on the migration branch and add a migration.

@nedbat
Copy link
Member

nedbat commented Apr 18, 2014

I don't understand why we need a new table. Surely a status column on the group table would be enough?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants