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

Remove create user endpoint and serializer 518 #545

Merged
merged 9 commits into from
Feb 19, 2021

Conversation

riatzukiza
Copy link

@riatzukiza riatzukiza commented Jan 20, 2021

This pull request changes...

There is an overly permissive unnessisary endpoint for adding users to the system. It needs to be removed

FUNCTIONALITY

Fixes #518

Removes create user view mixin from user api view, also removes a serializer which was only used by the no longer nessisary create user view.

TO TEST

Run `docker-compose run web -c 'pytest -x'. The x causes the test suite to abort after the first failed tests. If all tests pass, nothing has been broken by this pr.

Additionally, attempt to call the api end point POST /v1/user

This pull request is ready to merge when...

  • Meets acceptance criteria for the issue
  • Code is reviewed by someone other than the original author
  • Code is tested
  • Experience is approved by UX
  • Meets a11y checklist
  • Meets Raft's Manual QASP Checklist🔒 (only applicable for PR to main HHS)
  • Documentation is updated
    • OpenAPI
    • Readme
    • Entity Relationship Diagram (ERD)

Copy link

@carltonsmith carltonsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice thin PR!

@carltonsmith
Copy link

@riatzukiza Some linting issues no this one too

@riatzukiza riatzukiza self-assigned this Feb 3, 2021
Copy link

@carltonsmith carltonsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@riatzukiza This is great - just one very small change. Thanks!

@carltonsmith carltonsmith self-requested a review February 15, 2021 21:10
Copy link

@carltonsmith carltonsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@carltonsmith carltonsmith changed the title Remove create user endpoint and serializer Remove create user endpoint and serializer 518 Feb 16, 2021
@carltonsmith carltonsmith merged commit 0b8f520 into raft-tdp-main Feb 19, 2021
@andrew-jameson andrew-jameson deleted the backend/issue/518 branch July 27, 2021 13:37
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

Successfully merging this pull request may close these issues.

Remove API endpoint for creating new users
2 participants