Closed lo-chr closed 4 months ago
Giving this PR a bit more thought, I identified some inconsistencies regarding privacy. I will set this PR into draft mode again, fix the issues and submit the PR again. Sorry for the inconvenience.
I changed the UserResource, so that it does not check for admin privileges anymore.
Might be useful to limit details like mail address to admin users In the future.
Hi @lo-chr thanks for contributing! I'll review this on Friday, Jan 26.
I'll fix this over the weekend! Thank you for the review.
Thanks for contributing!
Thank your for the reviews and advice. I learned one or two things. ☺️
This PR fixes most of the features, mentioned here: https://github.com/google/timesketch/issues/3023
This PR is a first step into further capabilities of user management via API, although it lacks the ability to manage a particular user itself.
I also added some features to the testing framework, enabling the test of "admin only" tests, via creating admin users during test setup.
Checks
Closing issues closes #3023