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

Create Organization CRUD + utility functions in schema #13

Closed
ortonomy opened this issue Oct 17, 2017 · 2 comments
Closed

Create Organization CRUD + utility functions in schema #13

ortonomy opened this issue Oct 17, 2017 · 2 comments

Comments

@ortonomy
Copy link
Owner

We need a set of functions that can

  • insert a new organization with an admin user
  • insert a new user in the org user map with a request to join the org
  • validate a user's request to join the org
  • update a user's access to an org
@ortonomy
Copy link
Owner Author

ortonomy commented Feb 5, 2018

This supports the story here: ortonomy/flingapp-frontend#21

@ortonomy ortonomy changed the title Create Organization CRUD functions in schema Create Organization CRUD + utility functions in schema Feb 8, 2018
ortonomy pushed a commit that referenced this issue Feb 15, 2018
Issue related
- [x] fixes permissions for INSERT for create_organization mutation
- [x] adds second user without organization to seed data for testing org creation

Misc. (bad practice)
- [x] fixes mapping issue between project and text note map
ortonomy pushed a commit that referenced this issue Feb 15, 2018
ortonomy pushed a commit that referenced this issue Feb 18, 2018
ortonomy pushed a commit that referenced this issue Feb 18, 2018
- [x] new DB types to support org access request return type
- [x] updated support functions for custom org inserts
- [x] new app.js proxy endpoint /orgaccess for accepting requests for org access
- [x] side effects of using /orgaccess will send emails for any requestAccessToOrg mutations
ortonomy pushed a commit that referenced this issue Feb 27, 2018
- adds new API endpoint /orgaccess
- emails will be sent for validation requests when requests received at this endpoint
- adds new function to get org_access_request without being owner: ``org_request_by_requestor_id``
ortonomy added a commit that referenced this issue Feb 28, 2018
Finishes #13 - supporting organization enrolment and validation
@ortonomy
Copy link
Owner Author

Done

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

No branches or pull requests

1 participant