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

Conversation

@armooo
Copy link
Contributor

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.

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
ContributorAuthor

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

@nedbat
Copy link
Member

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

Sign up for freeto 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

@armooo@nedbat