Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clubs -- data layer #31

Open
3 of 6 tasks
Levi-Lesches opened this issue Apr 15, 2021 · 0 comments
Open
3 of 6 tasks

Clubs -- data layer #31

Levi-Lesches opened this issue Apr 15, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request New feature This issue may not have complete information

Comments

@Levi-Lesches
Copy link
Member

Levi-Lesches commented Apr 15, 2021

General implementation:

  • Club dataclass holds everything about clubs
  • User.registeredClubs holds user's clubs
  • "Registering" means adding your User.contactInfo to the club's "members" sub-collection
  • Registered members get notifications on events and meetings in the club
  • Captains can create a club, but Dov has to approve it. Only then can others browse it
  • Captains/faculty advisor take attendance every club meeting, is then cumulative
  • Captains are recognized by Auth.customClaims ["clubs"] containing a club ID
  • Dov has the scope AdminScope.clubs

Data

  • List<String> User.registeredClubs
  • Message
  • Club (with a .fromJson)
  • ContactInfo (with a .toJson)
  • User.contactInfo
  • User.toJson()
@Levi-Lesches Levi-Lesches added enhancement New feature or request New feature This issue may not have complete information labels Apr 15, 2021
@Levi-Lesches Levi-Lesches pinned this issue Apr 18, 2021
@Levi-Lesches Levi-Lesches mentioned this issue Apr 19, 2021
@Levi-Lesches Levi-Lesches changed the title Clubs backend Clubs -- data layer Apr 19, 2021
@Levi-Lesches Levi-Lesches unpinned this issue Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request New feature This issue may not have complete information
Projects
None yet
Development

No branches or pull requests

2 participants