Skip to content

Fix transfer status permission checks#5573

Merged
DaneEveritt merged 10 commits intopterodactyl:1.0-developfrom
MrSoulPenguin:1.0-develop
Mar 26, 2026
Merged

Fix transfer status permission checks#5573
DaneEveritt merged 10 commits intopterodactyl:1.0-developfrom
MrSoulPenguin:1.0-develop

Conversation

@MrSoulPenguin
Copy link
Copy Markdown
Contributor

@MrSoulPenguin MrSoulPenguin commented Feb 15, 2026

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.

Resolves #5572

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
@MrSoulPenguin
Copy link
Copy Markdown
Contributor 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.

@MrSoulPenguin MrSoulPenguin changed the title Fix successful transfer status permission check Fix transfer status permission checks Feb 15, 2026
@MrSoulPenguin
Copy link
Copy Markdown
Contributor Author

Went ahead and added some test cases to cover this in the future, and fixed a typo I didn't notice before.

@Space-Banane
Copy link
Copy Markdown

bump, same issues

@MrSoulPenguin
Copy link
Copy Markdown
Contributor Author

bump, same issues

If you're saying you've experienced the same issue this pr addresses, then it's probably best to do so on the linked issue.

Doing it on the pr seems like you're stating that you're still experiencing the issue after testing the fix.

@DaneEveritt DaneEveritt self-requested a review March 26, 2026 23:30
@DaneEveritt DaneEveritt merged commit 33695c6 into pterodactyl:1.0-develop Mar 26, 2026
9 checks passed
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.

Transfers get stuck processing due to wrong node permission check on successful transfer status update

3 participants