Skip to content

[FR] Simple API endpoint to change own user metadata - #4151

Merged
SchrodingersGat merged 8 commits into
inventree:masterfrom
matmair:matmair/issue3979
Jan 25, 2023
Merged

SchrodingersGat merged 8 commits into
inventree:masterfrom
matmair:matmair/issue3979

Conversation

@matmair

@matmair matmair commented Jan 4, 2023 •

Copy link
Copy Markdown
Member

Fixes #3979

@matmair matmair self-assigned this Jan 4, 2023
@matmair matmair added the api Relates to the API label Jan 4, 2023
@matmair matmair added this to the 1.0.0 milestone Jan 4, 2023
@matmair
matmair marked this pull request as draft January 4, 2023 22:29
@matmair

matmair commented Jan 4, 2023

Copy link
Copy Markdown
Member Author

@SchrodingersGat experiencing some ... interesting test behaviour here - any idea why a test fails if all tests are run but succeeds if only the specific file is run (only on pgsql)?

@SchrodingersGat

Copy link
Copy Markdown
Member

Nope, that's a new one for me. Something being set in the test environment by a prior test?

@matmair

matmair commented Jan 4, 2023

Copy link
Copy Markdown
Member Author

Maybe, not really sure. Let's see if it now works.

Comment thread InvenTree/users/tests.py Resolved
@SchrodingersGat

Copy link
Copy Markdown
Member

Have you worked out the CI issues here?

@matmair

matmair commented Jan 7, 2023

Copy link
Copy Markdown
Member Author

@SchrodingersGat no, now I know why it was commented out originally

@matmair
matmair marked this pull request as ready for review January 7, 2023 12:39
@SchrodingersGat

Copy link
Copy Markdown
Member

@matmair is there any intent in this PR to replace the front-end forms with this API driven approach? Or would you like to see this merged separately "as is"

@matmair

matmair commented Jan 24, 2023

Copy link
Copy Markdown
Member Author

@SchrodingersGat no, this is more to get in line with the expectations OIDC / OAuth2 connector have regarding user info endpoints

@SchrodingersGat
SchrodingersGat merged commit e870b0c into inventree:master Jan 25, 2023
@matmair
matmair deleted the matmair/issue3979 branch January 25, 2023 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Relates to the API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FR] 🏁 Simple API endpoint to change user metadata

2 participants