-
Notifications
You must be signed in to change notification settings - Fork 2
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
YDA-5953 uuUserExists with rule_user_exists #15
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me in general 👍
Can we move the code to retrieve the client_hints and select the right rule name to the constructor of RuleInterface? In that case we have to request client hints only once, rather than invoking this API endpoint for every rule invocation (which would double the number of API calls for checking whether users already exist).
@stsnel I have updated the codes based on your suggestions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good in general 👍, have added a few comments about specific parts...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, LGTM 👍
rule_interface.call_rule_user_exists(user)
for either case of rule_user_exists and uuUserExists. (running make and make install are required to update the rule base)