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 management via API #14

Closed
nhoening opened this issue Feb 2, 2021 · 1 comment · Fixed by #25
Closed

User management via API #14

nhoening opened this issue Feb 2, 2021 · 1 comment · Fixed by #25
Assignees
Labels
API enhancement New feature or request

Comments

@nhoening
Copy link
Contributor

nhoening commented Feb 2, 2021

Also open user data / actions via REST API as far as possible (as Flask-Security allows, it might be fine that some things only work in our UI).

The reason is so that apps based on FlexMeasures can include some user management. If we

This is what I believe should be possible:

  • List users (GET)
  • Get a user (GET)
  • Edit a user (PATCH)
  • Deactivate a user (GET)
  • Trigger password reset (GET)

Not possible through the API:

  • Adding a user ― this is not possible in the UI either atm.
  • Deleting a user (and their data) ― that should not be available through the API.
  • Login
  • Get an access token

Idea: Use Flask-Smorest this time, trying to understand if that works well (marshmallow integration and generating an open API documentation).

@nhoening nhoening added enhancement New feature or request API labels Feb 2, 2021
@nhoening nhoening self-assigned this Feb 2, 2021
@create-issue-branch
Copy link
Contributor

Branch issue-14-User_management_via_API created!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant