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

[story] New users should go through the organization enrolment process #21

Open
ortonomy opened this issue Dec 10, 2017 · 2 comments
Open

Comments

@ortonomy
Copy link
Owner

No description provided.

@ortonomy
Copy link
Owner Author

ortonomy commented Feb 5, 2018

Dependency on ortonomy/fling-server#13

@ortonomy
Copy link
Owner Author

ortonomy commented Feb 5, 2018

Designs:

login-register organization search 2x

login-register organization created 2x

login-register organization new with domain 2x

login-register organization found 2x

ortonomy pushed a commit that referenced this issue Feb 16, 2018
- [x] uses createOrganization mutation
- [x] supported by issue 13 in backend adding permission for INSERT to postgraphql user
- [x] added new state object for 'Org' which tracks enrolment process for user into organization
ortonomy pushed a commit that referenced this issue Feb 16, 2018
- [x] adds all necessary logic
- [x] adds preventDefault from pressing Enter on form
ortonomy pushed a commit that referenced this issue Feb 19, 2018
ortonomy pushed a commit that referenced this issue Feb 19, 2018
…ess requests

- [x] new api queries to support initial state hydration with whether or not user has requested access to an org
- [x] adds actions to request access to org and relevant logic and reducers
- [x] makes sure form does not 'submit' when enter is pressed
- [x] enables 'back to search' functionality in enrolment process
ortonomy pushed a commit that referenced this issue Feb 20, 2018
…nization

- [x] adds hasOrgRedirect to go to /main if on /enroll and has an org already
- [x] adds withOrg to send back to /enroll if on /main and you don't have an org yet
- [x] wraps /enroll and /main components in protection
- [x] updates redux hydration to make sure correct data is sent back and not null errors occur
ortonomy pushed a commit that referenced this issue Feb 27, 2018
- new route /validateorg for admins to validate org access requests
- new component ValidateOrg handling new route
- updated logic and reducers for actions VALIDATE_ORG_ACCESS_REQUEST
- added new API calls for logic
- added new state object ``Org.validation``
- updated hasOrgRedirect to not redirect after initial org creation
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