Skip to content

TokenService include userID in requests#1650

Merged
cyinma merged 2 commits intomainfrom
cyinma/token-service-take-userID
Dec 6, 2022
Merged

TokenService include userID in requests#1650
cyinma merged 2 commits intomainfrom
cyinma/token-service-take-userID

Conversation

@cyinma
Copy link
Copy Markdown
Contributor

@cyinma cyinma commented Dec 6, 2022

fixes BSR-962

Comment on lines +51 to +53
// The ID of the user to create a new token, can only be
// the user who perform this action, or a machine user.
string user_id = 3;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

will this default to the user making the request, if empty? do we want to mention that in the comment?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think in the end we will want all clients to provide this field, but updated as empty should be accepted for now

@cyinma cyinma merged commit 7473396 into main Dec 6, 2022
@cyinma cyinma deleted the cyinma/token-service-take-userID branch December 6, 2022 19:05
Monirul1 pushed a commit to Monirul1/buf that referenced this pull request Apr 30, 2023
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.

2 participants