threat-dragon
threat-dragon copied to clipboard
New Threat Model Gets Stuck at v2 Welcome
Describe the bug When creating a new threat model using GitHub auth, the guard that checks for v1 vs v2 models triggers, and you cannot navigate past it. This happens when clicking the "create a new threat model" link from the repository selection page.
To Reproduce
- Log in using Github Auth
- Click "open an existing threat model"
- Select a repository
- Select a branch
- Click the "Create a New Threat Model" link at the top of the page
Any additional context, screenshots, etc
This was set up prior to much of the other routing and configuration. Creating a new threat model using github auth isn't fully implemented yet either, as there is no option for repo/branch selection. This issue could cover all of the above, or just be picked up after the implementation of new threat models is fleshed out.
Confirmed that this still happens as described
Assigning to myself - I've wanted to re-work the git flow for a bit now. I think it could be done a bit more cleanly anyways. As it currently works, there's multiple pages/routes to get to a threat model, when it could be a single view with multiple components to accomplish the same goal.