Skip to content

Backend — API Endpoints for Report Retrieval (Role-Based Filtering) #13

Description

@specfor

Entities need to view the reports assigned to them.

  • GET /api/v1/reports
  • Security Check: If the requester is a System Admin, return ALL reports. If the requester is an Entity Admin/User, return ONLY reports where reports.entity_id == requester.entity_id.
  • Add filtering options (by status, date, category).

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions