Skip to content

Feature/mip 03 group events#99

Open
Maphikza wants to merge 3 commits intoHORNET-Storage:mainfrom
Maphikza:feature/mip-03-group-events
Open

Feature/mip 03 group events#99
Maphikza wants to merge 3 commits intoHORNET-Storage:mainfrom
Maphikza:feature/mip-03-group-events

Conversation

@Maphikza
Copy link
Member

@Maphikza Maphikza commented Feb 9, 2026

Summary

  • Removes the early return that blocked unauthenticated (no pubkey) clients from making REQ queries in the filter handler
  • Previously, the access control check rejected all requests without an authenticated pubkey before evaluating the read access policy, which
    meant relays configured with all_users read access still required authentication
  • The CanRead method already handles the logic for different access levels, so the pubkey check was redundant and overly restrictive

…_users

Remove early authentication gate in filter handler that blocked
unauthenticated users before checking access control settings.
The CanRead function already handles all_users mode correctly,
so the empty pubkey check was preventing public relay access.
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.

1 participant