Skip to content

[1.0.0-rc.14] Improve user handling#65

Merged
St4NNi merged 4 commits intomainfrom
improve-user-handling
Apr 6, 2023
Merged

[1.0.0-rc.14] Improve user handling#65
St4NNi merged 4 commits intomainfrom
improve-user-handling

Conversation

@St4NNi
Copy link
Copy Markdown
Member

@St4NNi St4NNi commented Apr 5, 2023

This PR includes some nice QOL API features for user handling , especially for admin user handling and the WebUI:

Changes:

  • Add emails to register_user request in preparation for email notifications (as well as a user-provided optional project hint)
  • Add deactivate_user request (tracked in Tasklist for 1.0.0 Changes #55)
  • Add get_all_users request for admins
  • CreateApiToken for sessions
  • activate_user and automatically add them to a project.

This should not contain any breaking changes only add additional functionality to existing APIs.

@St4NNi St4NNi requested a review from das-Abroxas April 5, 2023 19:20
@St4NNi St4NNi added the enhancement New feature or request label Apr 5, 2023
@St4NNi St4NNi modified the milestones: V1.1.0, V1.0.0 Apr 5, 2023
Copy link
Copy Markdown
Contributor

@das-Abroxas das-Abroxas left a comment

Choose a reason for hiding this comment

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

User deactivation is important, of course. Why didn't we have this before?...

And an e-mail address is very useful to distribute information directly to users. But in the future we have to be even more careful about the privacy of user information.

But all in all useful and sensible additions to the API, which especially make life easier for administrators 👍

@St4NNi St4NNi merged commit 022b75d into main Apr 6, 2023
@St4NNi St4NNi deleted the improve-user-handling branch April 6, 2023 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants