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

kernelci.cli.user: send token to GET users requests #2236

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

JenySadadia
Copy link
Collaborator

Depends kernelci/kernelci-api#430

Send API token for getting existing users' information as the endpoint has made accessible to only authorized users.

Send API token for getting existing users' information
as the endpoint has made accessible to only authorized
users.

Signed-off-by: Jeny Sadadia <jeny.sadadia@collabora.com>
Copy link
Member

@nuclearcat nuclearcat left a comment

Choose a reason for hiding this comment

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

Verified by user find command, works ok on staging

@nuclearcat nuclearcat added this pull request to the merge queue Dec 8, 2023
Merged via the queue into kernelci:main with commit 1b3d087 Dec 8, 2023
4 checks passed
@JenySadadia JenySadadia deleted the use-token-find-users branch December 8, 2023 15:53
@gctucker
Copy link
Contributor

@JenySadadia Why has authentication been added there? Is this a fastapi-users requirement?

@nuclearcat
Copy link
Member

We had discussion and decided it is not good idea to expose usernames and emails without authentication from privacy standpoint.

@gctucker
Copy link
Contributor

OK, this seems a bit arbitrary. I would have added a field to let users mask their email address if they didn't want to share it publicly. I guess that can always be done later.

Only real issue as far as I'm concerned is I need to rebase my PRs again so I can finally get my old changes merged ;)

@gctucker gctucker mentioned this pull request Dec 15, 2023
40 tasks
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.

3 participants