Skip to content

feat!: allow beta testers to access courses early#52

Merged
Agrendalath merged 2 commits intomainfrom
agrendalath/bb-10244-beta-tester-access
May 1, 2026
Merged

feat!: allow beta testers to access courses early#52
Agrendalath merged 2 commits intomainfrom
agrendalath/bb-10244-beta-tester-access

Conversation

@Agrendalath
Copy link
Copy Markdown
Member

@Agrendalath Agrendalath commented Apr 3, 2026

BREAKING CHANGE: This requires:

  1. Setting COURSE_ABOUT_VISIBILITY_PERMISSION = 'see_about_page'.
  2. Removing the course_experience.pre_start_access Waffle flag (if enabled).
  3. Setting the catalog_visibility in all courses to about or both.

How to update catalog visibility for all courses

# IMPORTANT: Run this in the CMS shell.
from openedx.core.djangoapps.content.course_overviews.models import CourseOverview
from openedx.core.lib.courses import get_course_by_id
from xmodule.modulestore.django import modulestore
from xmodule.modulestore import ModuleStoreEnum

keys = CourseOverview.get_all_course_keys()

for key in keys:
    print(key)
    course = get_course_by_id(key)
    course.catalog_visibility = "both"
    modulestore().update_item(course, ModuleStoreEnum.UserID.primitive_command)

@Agrendalath Agrendalath self-assigned this Apr 3, 2026
BREAKING CHANGE: This requires:
1. Setting `COURSE_ABOUT_VISIBILITY_PERMISSION = 'see_about_page'`.
2. Removing the `course_experience.pre_start_access` Waffle flag (if enabled).
3. Setting the `catalog_visibility` in all courses to `about` or `both`.
@Agrendalath Agrendalath force-pushed the agrendalath/bb-10244-beta-tester-access branch from fe4a2df to 8761fc6 Compare April 3, 2026 15:00
@Agrendalath Agrendalath force-pushed the agrendalath/bb-10244-beta-tester-access branch from 8761fc6 to a438fe1 Compare May 1, 2026 19:11
@Agrendalath
Copy link
Copy Markdown
Member Author

Merging this to move forward.

@Agrendalath Agrendalath merged commit b9d2a67 into main May 1, 2026
3 checks passed
@Agrendalath Agrendalath deleted the agrendalath/bb-10244-beta-tester-access branch May 1, 2026 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant