[PR #1586] [MERGED] Fix resource auth API call to use resourceGuid instead of resourceid #11410

Closed
opened 2026-05-06 16:02:52 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fosrl/pangolin/pull/1586
Author: @Pallavikumarimdb
Created: 9/29/2025
Status: Merged
Merged: 9/29/2025
Merged by: @miloschwartz

Base: devHead: fix/resource-auth-param-handling


📝 Commits (1)

  • 4dd9e34 use resourceGuid instead of resourceid

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 src/app/[orgId]/settings/resources/[niceId]/layout.tsx (+1 -1)

📄 Description

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description

Resource Auth API call was incorrectly referencing resource.resourceid instead of the correct field resource.resourceGuid.

The mismatch (resourceid vs resourceGuid) caused the resource auth lookup to fail, triggering an unnecessary redirect back to
/resources

How to test?


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fosrl/pangolin/pull/1586 **Author:** [@Pallavikumarimdb](https://github.com/Pallavikumarimdb) **Created:** 9/29/2025 **Status:** ✅ Merged **Merged:** 9/29/2025 **Merged by:** [@miloschwartz](https://github.com/miloschwartz) **Base:** `dev` ← **Head:** `fix/resource-auth-param-handling` --- ### 📝 Commits (1) - [`4dd9e34`](https://github.com/fosrl/pangolin/commit/4dd9e34a1141cdc54e5f0643d43511ca65938ef0) use resourceGuid instead of resourceid ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/app/[orgId]/settings/resources/[niceId]/layout.tsx` (+1 -1) </details> ### 📄 Description ## Community Contribution License Agreement By creating this pull request, I grant the project maintainers an unlimited, perpetual license to use, modify, and redistribute these contributions under any terms they choose, including both the AGPLv3 and the Fossorial Commercial license terms. I represent that I have the right to grant this license for all contributed content. ## Description Resource Auth API call was incorrectly referencing `resource.resourceid` instead of the correct field `resource.resourceGuid`. The mismatch (resourceid vs resourceGuid) caused the resource auth lookup to fail, triggering an unnecessary redirect back to `/resources` ## How to test? --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-06 16:02:52 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#11410