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

API returns 404 instead of 403 Forbidden if not allowed to view #2539

Description

@johanneskvamme

Describe the bug
If a user tries to fetch an event or article from the API that they lack the permission to view, they get a 404 error.
Instead, the correct response would be 403 Forbidden ("you do not have access to this resource"). We have no reason to hide events from the API completely compared to just telling people they cannot access it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions