Fix transfer status permission checks#5573
Open
MrSoulPenguin wants to merge 4 commits intopterodactyl:1.0-developfrom
Open
Fix transfer status permission checks#5573MrSoulPenguin wants to merge 4 commits intopterodactyl:1.0-developfrom
MrSoulPenguin wants to merge 4 commits intopterodactyl:1.0-developfrom
Conversation
checked if servers node was the new node before updating the server, always failing. Now the requesting node is checked if it's the new node
Author
|
Noticed that there was also an issue with the failed transfer status update node checks. Checked against the servers current node instead of the requesting node. So the check always passed when the servers current node was check against the old node in the transfer, since it wouldn't have been updated due to the failed transfer. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before, the new node was checked against the servers current node (the old node) before the server is updated to the new node, causing the check to always fail.
Now the requesting node is checked against the new node.
Addresses #5572