-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
fix: should autogenerate username in tpa pipeline if feature is enabled #35101
fix: should autogenerate username in tpa pipeline if feature is enabled #35101
Conversation
0fe5918
to
52381c6
Compare
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.
overall looks good. just a little linting suggestion
@@ -101,6 +102,7 @@ def B(*args, **kwargs): | |||
) | |||
from common.djangoapps.track import segment | |||
from common.djangoapps.util.json_request import JsonResponse | |||
from openedx.core.djangoapps.user_authn.views.utils import get_auto_generated_username |
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.
we should group imports together
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.
yes sure
52381c6
to
9ec7164
Compare
2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production. |
2U Release Notice: This PR has been deployed to the edX production environment. |
1 similar comment
2U Release Notice: This PR has been deployed to the edX production environment. |
Description
The user's username should be autogenerated without using the user's PII in the pipeline if the
is_auto_generated_username_enabled()
is enabled.Useful information to include:
More details on autogenerate username feature can be found here: https://openedx.atlassian.net/wiki/spaces/OEPM/pages/4060938253/Proposal+Autogenerate+username+behind+a+flag
Supporting information
Link to other information about the change, such as Jira issues, GitHub issues, or Discourse discussions.
Be sure to check they are publicly readable, or if not, repeat the information here.
Testing instructions
Please provide detailed step-by-step instructions for testing this change.
Deadline
"None" if there's no rush, or provide a specific date or event (and reason) if there is one.
Other information
Include anything else that will help reviewers and consumers understand the change.