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

user auth business logic #200

Closed
5 of 6 tasks
pcrespov opened this issue Aug 27, 2018 · 1 comment
Closed
5 of 6 tasks

user auth business logic #200

pcrespov opened this issue Aug 27, 2018 · 1 comment
Assignees
Milestone

Comments

@pcrespov
Copy link
Member

pcrespov commented Aug 27, 2018

  • database
  • basic model (issue New User and Project Models (schemas) #148)
    • tables definition
    • database migration
  • basic authentication
  • basic authorizations
    • A user can own project(s), data, service(s) and can share it with a group or another user
    • A group admin can create users in his/her group

child of #19

@pcrespov pcrespov added this to the Libra milestone Aug 27, 2018
@pcrespov pcrespov self-assigned this Aug 27, 2018
@pcrespov pcrespov mentioned this issue Sep 5, 2018
10 tasks
@pcrespov
Copy link
Member Author

pcrespov commented Sep 25, 2018

Progress log

  • Server side based on a variation of aiohttp_login (presented during review)
  • Creating a stand-alone version and how it integrates with session

@pcrespov pcrespov modified the milestones: Libra, Picon Oct 10, 2018
@pcrespov pcrespov mentioned this issue Oct 22, 2018
5 tasks
@ghost ghost removed the in progress label Oct 30, 2018
oetiker pushed a commit to oetiker/osparc-simcore that referenced this issue Nov 1, 2018
## What do these changes do?
Business logic for:
- user session
- login/logout/registration/confirmation/rest
- new modules in servicelib for aipg, aiohttp ext ...
- added deploytools: merges docker files, creates

## Related issue number
Resolves ITISFoundation#200 


## Important commits

* Modified app's config to accomodate options for smtp server
Added new keys for db's pool

* Login:
 - created setup
 - added test_login, test_registration
 - shorten config

* Cleanup testing. Disabled old tests and modifying testing configuration

* tests/login/test_login passes
 - login setup connected on app startup
 - added smtp to config file
 - asyncpg needs enum names (not values)

* servicelib: created response_utils

* test_registration passes
 - activated renderer for email
 - fixes openapi formatters (openapicore does not support uuid formatter marshaling)
 - template resources

* test_logout
 - refactoring test utils
 - moved all routes under login

* Replacing cfg.STORAGE singleton by application storage

* test_login runs
added change email
other fixes in utils

* servicelib new utils

* Fixes null parameters in configuration
 - adds testing for configs

* Added email setup and hides renderer setup

* Started deploy tools (prototype)
 - finds services/docker-compose* files
 - merges docker-compose files
 - resolves services/docker-compose files and produces a  docker-compose for deployment
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

1 participant