Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Add Proper Sourcing for Incidents #298

Open
DMalone87 opened this issue Aug 16, 2023 · 0 comments
Open

[FEATURE] Add Proper Sourcing for Incidents #298

DMalone87 opened this issue Aug 16, 2023 · 0 comments
Labels
backend enhancement New feature or request

Comments

@DMalone87
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Currently, when an incident is created, it is created without a proper source or source_details relationship. We should add a function that properly sources an incident on creation and require that all incidents have a source and source_details relationship.

Describe the solution you'd like

  • Add a helper function to the incidents API that attaches the source relationships whenever an incident is created. The source can be implied by the user relationship. A contributing user must be a member of a partner organization.
  • Enforce a rule that users must have the Publisher or Admin user role of a partner in order to create an incident.
  • Enforce a rule that the incident request body must include source_details when submitted.

Additional context
Add any other context or screenshots about the feature request here.

@DMalone87 DMalone87 changed the title [FEATURE] Add proper sourcing for Incidents [FEATURE] Add Proper Sourcing for Incidents Aug 16, 2023
@DMalone87 DMalone87 added enhancement New feature or request backend labels Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant