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

Shm 3053(2) #10

Merged
merged 2 commits into from
Apr 22, 2024
Merged

Shm 3053(2) #10

merged 2 commits into from
Apr 22, 2024

Conversation

mssabr01
Copy link
Contributor

Puts killroute behind debug middleware and removes allowKillRoute flag

Copy link

linear bot commented Apr 22, 2024

SEC-117 Put killroute endpoints behind debug middleware

See SHM-2555 for original findings

Currently the endpoints involved with killing other nodes are considered debug endpoints but they are not tied to debug mode in the node. Its controlled via allowKillRoute which could easily make its way into production. Refactor this code to match other debug endpoints

  • killExternalRoute
  • killOtherExternalRoute

@mssabr01 mssabr01 merged commit a8bad65 into dev Apr 22, 2024
2 checks passed
arhamj pushed a commit that referenced this pull request Apr 29, 2024
* Add debugmiddleware to killroute endpoints

* we refactored killroutes to be behind debug middleware. Removed the allowKillRoute variable as its redundant now

---------

Co-authored-by: Sam Sweet <[email protected]>
@mhanson-github mhanson-github deleted the SHM-3053(2) branch August 17, 2024 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant