UpdateUser appears to create user if it doesn't exist #61
Labels
kind/bug
Categorizes issue or PR as related to a bug.
PbnJ.next
issues related to the new gRPC version of PBnJ
priority/backlog
Higher priority than priority/awaiting-more-evidence.
I'm still investigating but it appears that calls to
UpdateUser
rpc create the user if it doesn't exist.Expected Behaviour
UpdateUser
only updates existing users.Current Behaviour
UpdateUser
creates a new user if the user that is provided in the request does not already exist.Possible Solution
we could refactor to check for user existence first.
The text was updated successfully, but these errors were encountered: