Skip to content

Inconsistent logic between ENABLE_COURSE_DISCOVERY and NON_BROWSABLE_COURSES #25

@PKulkoRaccoonGang

Description

@PKulkoRaccoonGang

Description

The current logic for displaying the course catalog link differs depending on whether the user is logged in or logged out, and relies on two separate settings: ENABLE_COURSE_DISCOVERY and NON_BROWSABLE_COURSES.

  • Logged out users: The catalog link is shown if ENABLE_COURSE_DISCOVERY is true, regardless of NON_BROWSABLE_COURSES.

  • Logged in users: The catalog link is shown if NON_BROWSABLE_COURSES is false, regardless of ENABLE_COURSE_DISCOVERY.

This behavior is consistent with existing implementations in both the edx-platform and the MFE, but the relationship between the two settings can be confusing and non-intuitive.

The dual-setting logic makes it unclear which configuration should be used to control catalog visibility. It may be worth reconsidering whether both flags should be taken into account together.

More context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions