center-for-threat-informed-defense / attack-workbench-frontend

An application allowing users to explore, create, annotate, and share extensions of the MITRE ATT&CK® knowledge base. This repository contains an Angular-based web application providing the user interface for the ATT&CK Workbench application.
https://mitre-engenuity.org/cybersecurity/center-for-threat-informed-defense/our-work/attck-workbench/
Apache License 2.0
325 stars 61 forks source link

[REQUEST] Add validation to prevent duplicate reference URLs #541

Closed clemiller closed 1 month ago

clemiller commented 2 months ago

Is your feature request related to a problem? Please describe. Currently, users can create multiple reference objects with the same url, leading to duplicate entries in the database with varying source names.

Describe the solution you'd like Add validation that checks if the entered reference url already exists before saving it to the database. The save button should be disabled and an error message displayed if the url is a duplicate. Additionally, provide a link to the existing reference or an option to copy its in-text citation.

clemiller commented 1 month ago

Staged on develop