Skip to content

Make course unenrollment survey configurable via feature flag #765

@marslanabdulrauf

Description

@marslanabdulrauf

Summary

Introduce an environment-level feature flag, SHOW_UNENROLL_SURVEY, that allows operators to control whether learners are shown an un-enrollment survey or are unenrolled immediately after confirmation.

Problem

Currently, the unenrollment flow always presents a survey asking learners for reasons before completing unenrollment. There is no configuration option to bypass this step, which limits flexibility for operators who want a faster or less intrusive unenrollment experience.

This behavior does not accommodate different organizational UX, compliance, or learner-experience requirements.

Proposed Change

  • Add a new environment configuration flag: SHOW_UNENROLL_SURVEY
  • Default value: true (preserves existing behavior)
  • When set to false:
    • Learners are unenrolled immediately after the confirmation modal
    • No survey or reason collection is shown

Related Work

PR: #738
Proposal (Confluence): https://openedx.atlassian.net/wiki/spaces/OEPM/pages/5395841025/Proposal+Configurable+Un-enrollment+Survey

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions