Skip to content

Masquerade bar mounts for anonymous users and shows partial shell on failed loads #265

Closed

Description

@arbrandes

Description

MasqueradeBar renders a partial empty shell with a "Unable to load masquerade options." alert whenever its query fails for any reason other than an explicit 403. This is the common case for users who are not logged in: the LMS responds with a 302 redirect to /login rather than a 403. The code treats the resulting HTML response as a generic "unreachable" failure and shows the broken-looking alert instead of hiding the bar.

Image

The expected behavior is that the bar renders only when the query succeeds with success: true, and never mounts for anonymous users.

Activity

  1. added theissue type on May 14, 2026
  2. moved this to In Review in frontend-baseon May 14, 2026
  3. self-assigned this
    on May 14, 2026
  4. moved this from In Review to Done in frontend-baseon May 16, 2026
  5. openedx-semantic-release-bot commented on May 16, 2026

    @openedx-semantic-release-bot

    🎉 This issue has been resolved in version 1.0.0-alpha.49 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions