Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Conversation

@keegangeorge
Copy link
Member

🔍 Overview

Invalid access error should be populated to user when trying to search for something they do not have permissions for (i.e. anons searching in:messages

This PR has no tests, as there is an upcoming overarching todo to add specs for search and will be covered there instead.

📸 Screenshots

← Before

Screenshot 2025-04-30 at 11 58 01
Failed to process hijacked response correctly : Discourse::InvalidAccess : Discourse::InvalidAccess

→ After

Screenshot 2025-04-30 at 11 55 06

when trying to search for something they do not have permissions for (i.e. anons searching `in:messages`
@keegangeorge keegangeorge merged commit ab67299 into main Apr 30, 2025
6 checks passed
@keegangeorge keegangeorge deleted the fix-search-error branch April 30, 2025 19:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants