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

investigate: orgs #702

Open
DOOduneye opened this issue May 2, 2024 · 2 comments
Open

investigate: orgs #702

DOOduneye opened this issue May 2, 2024 · 2 comments

Comments

@DOOduneye
Copy link
Contributor

This is more of a design question, how to fetch organizations (clubs with children clubs)

  1. Relegate to the frontend to parse all the clubs with orgs
  2. Create an endpoint under clubs which gets all the clubs with children clubs /api/v1/clubs/orgs or /api/v1/clubs/orgs
  3. Create an endpoint with an org bool in clubs to optimize the query /api/v1/clubs/orgs or /api/v1/clubs/orgs
@DOOduneye
Copy link
Contributor Author

DOOduneye commented May 2, 2024

Extending on it how to add clubs under an organization. This may just be an admin dashboard thing though

@alderwhiteford
Copy link
Contributor

alderwhiteford commented May 10, 2024

good question, don't think we need it in the pilot. For future reference, though, I like the idea of using the boolean param.

For how a club actually gets added as a child, thats a whole other flow that would likely require some sort of confirmation logic:

  • org selects club as child
  • child club confirms on their end
  • child club gets added as child of org

Would need some sort of "pending approval" object in our database that is tied to some executable action - this would make it general purpose (e.g. could also be used to approve people as members of an organization)

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

No branches or pull requests

2 participants