feat: implements SHOW_REGISTRATION_LINKS feature toggle - #32783
Conversation
|
Thanks for the pull request, @yusuf-musleh! Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
b3e65cf to
6683c28
Compare
6683c28 to
14f8da3
Compare
viadanna
left a comment
There was a problem hiding this comment.
Approved 👍
- I tested this:
- I read through the code
- I checked for accessibility issues
- Includes documentation
14f8da3 to
2b4c41a
Compare
|
Thanks @viadanna. @mphilbrick211 This PR is ready. |
2b4c41a to
2ee57b7
Compare
|
Hi @openedx/vanguards! Is this something one of you could help review/merge? thanks! |
|
@mphilbrick211 yes, we can help review this. I will create a ticket in the backlog. Please note we are in the middle of a sprint and will be able to pick it next week. |
@zainab-amir - perfect, thanks so much! |
mubbsharanwar
left a comment
There was a problem hiding this comment.
What is the purpose of this flag and how is this different from ALLOW_PUBLIC_ACCOUNT_CREATION ?
@mubbsharanwar |
|
@yusuf-musleh can you comment on the product vision for this? In what cases would we want the link to not be visible but registration page to be accessible via url? |
|
@zainab-amir The main use case for this is when you want to limit/enforce your users (learners) to sign up through your own custom portal that makes API calls to LMS in order to create new users. This could be to enforce a certain standard or requirement that you have for your organization. Setting the Accessing the /register page through the url directly is sort of a nice to have/fallback in case you want to manually send the link to your learners, but isn't the main benefit gained from this change. |
|
Hi @yusuf-musleh, |
2ee57b7 to
ddeff2b
Compare
(cherry picked from commit 3025ab5)
ddeff2b to
0631059
Compare
|
@yusuf-musleh 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
|
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. |
@mubbsharanwar Thanks for the review/approval, I've created an internal ticket to replicate the same functionality on the new micro frontend. |
Description
This PR implements a
SHOW_REGISTRATION_LINKSconfiguration variable to allow hiding the links to the registration form, while keeping the functionality for public registration enabled, through the/registerurl directly or through the API.(cherry picked from commit 3025ab5)
Supporting information
Private-ref: BB-7694Testing instructions
SHOW_REGISTRATION_LINKSflag toFalsein both lms and cms