Skip to content

feat: captcha only for learners #792

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

sundasnoreen12
Copy link
Contributor

INF-2043

Description

To prevent inconvenience for instructors, we should skip displaying the CAPTCHA for users who hold at least one course role (i.e., they are not just learners).

This PR includes the frontend changes required to support this behavior.

Merge Checklist

  • If your update includes visual changes, have they been reviewed by a designer? Send them a link to the Sandbox, if applicable.
  • Is there adequate test coverage for your changes?

Post-merge Checklist

  • Deploy the changes to prod after verifying on stage or ask @openedx/edx-infinity to do it.
  • 🎉 🙌 Celebrate! Thanks for your contribution.

Copy link

codecov bot commented Jul 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (master@fa77205). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #792   +/-   ##
=========================================
  Coverage          ?   93.76%           
=========================================
  Files             ?      166           
  Lines             ?     3622           
  Branches          ?      969           
=========================================
  Hits              ?     3396           
  Misses            ?      210           
  Partials          ?       16           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

3 participants