Skip to content
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

Block registration from particular countries #390

Open
ayub02 opened this issue Oct 28, 2024 · 1 comment
Open

Block registration from particular countries #390

ayub02 opened this issue Oct 28, 2024 · 1 comment

Comments

@ayub02
Copy link

ayub02 commented Oct 28, 2024

Abstract

Introduce a feature that allows platform administrators to restrict users from specific countries during sign-up and on account settings, addressing the need to control access based on legal, regulatory, or strategic requirements. Currently, there’s no mechanism for admins to restrict country access, requiring manual workarounds.

Detailed Product Proposal

https://openedx.atlassian.net/wiki/spaces/OEPM/pages/4569825335/Proposal+Block+registration+from+particular+countries

Context & Background (in brief, if a Product Proposal is linked above)

The Open edX platform doesn’t currently provide a way for administrators to restrict users from certain countries. For organizations facing legal restrictions, regulatory compliance, or strategic considerations, this feature is essential to manage user access seamlessly. Currently, the country list is retrieved separately across different micro-frontends (MFEs) on the web and via a backend API for mobile apps, which leads to inconsistencies in experience across platforms.

Scope & Approach (in brief, if a Product Proposal is linked above)

The initiative focuses on modifying the country list based on a DISABLED_COUNTRIES setting, ensuring restricted countries are removed across all interfaces.

We have two implementation options:

Option 1: Maintain current structures by implementing backend filtering for both MFEs (via a new API) and mobile apps (via the registration API).
Option 2: Unify web and mobile by using a single registration API for country retrieval, which requires more extensive changes to MFEs but simplifies long-term maintenance.

Value & Impact (in brief, if a Product Proposal is linked above)

Successful deployment of the DISABLED_COUNTRIES list without any technical errors across web and mobile platforms.

Milestones and/or Epics

Option 1 is too small however option 2, if selected after review, can have milestones that are yet to be defined.

Named Release

Teak

Timeline (in brief, if a Product Proposal is linked above)

Tentative plan is to implement as per available bandwidth.

Proposed By

2U

Additional Info

No response

Copy link

Thanks for your submission, @openedx/openedx-product-managers will review shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant