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

Conversation

@whitdog47
Copy link
Contributor

This PR implements changes to the Incident and Case models to restrict the display of full information for duplicate and associated cases and incidents. By introducing basic read models, we aim to ensure that restricted information is not exposed unnecessarily.

Models Updated:

  • Introduced CaseReadBasic and IncidentReadBasic models to provide a simplified view of cases and incidents, omitting potentially restricted details.
  • Updated references from CaseReadMinimal and IncidentReadMinimal to their respective basic models in various classes, including CaseRead, CaseUpdate, IncidentRead, and IncidentUpdate.
  • Adjusted the FeedbackBase and TaskBase models to utilize IncidentReadBasic for incident references.

@whitdog47 whitdog47 added bug Something isn't working security labels Dec 13, 2024
@whitdog47 whitdog47 self-assigned this Dec 13, 2024
@whitdog47 whitdog47 merged commit e3ee407 into master Dec 14, 2024
8 checks passed
@whitdog47 whitdog47 deleted the bugfix/dont-return-restricted branch December 14, 2024 01:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants