Repository navigation
Debug bounty from VS Code (Zimb/zimb) #6
Description
🐛 Bug · 🟡 MEDIUM
Cannot install a GitHub App at the organization level — it appears in My Apps but only an Edit button is available, no Install option.
🎯 Problem
The user owns a GitHub App and needs to install it for an organization. The app is visible under Developer settings → GitHub Apps → My Apps, but only the Edit button is exposed. There is no way to trigger an organization-level installation, which blocks the app from being granted access to org resources.
🔬 How to reproduce
- Sign in to GitHub with the account that owns the GitHub App.
- Navigate to Settings → Developer settings → GitHub Apps.
- Open the My Apps tab and select the target app.
- Look at the action area on the right side of the app details page.
- Attempt to install the app on an organization (either via the page or via the org's Install integration flow).
🎯 Expected vs Actual
Expected: An Install option (or an Install dropdown listing available organizations) is shown, allowing an org owner to install the app on the chosen organization.
Actual: Only the Edit button is shown. No Install / Install on organization option is available, so org-level installation cannot be initiated.
📋 Scope
- GitHub Apps developer settings UI (My Apps detail page)
- GitHub App installation flow / API
- GitHub App manifest and ownership configuration
- Organization permissions for the requesting user
Files/components in-scope for this fix. Anything else → new bounty.
🚧 Constraints
- User is acting at the organization level, not on a personal account.
- App already exists and is owned by the user (it shows in My Apps), so creation is not the blocker.
- User may or may not have org owner rights — this needs to be verified during investigation.
Hard requirements. The fix MUST respect these (e.g. "must work at org level, not just user account").
⚙️ Environment
- Repo: Zimb/zimb
- Languages: .ts, .js, .mjs
- Issue: #TBD
✅ Acceptance criteria
- The app's detail page exposes an Install action (button or dropdown).
- An organization owner can complete the installation flow for the app on a target organization.
- After installation, the app appears in the organization's Installed GitHub Apps list.
- Document the required user role (org owner) and any app-side setting (e.g. installation access policy) that must be enabled for org install.
💰 Bounty
0€ — payment flow not active yet, currently a public contribution credit.
When the bounty system is enabled, this would be pre-authorized via Stripe on claim.
🤝 How to claim (for contributors)
Comment @zimb-bot claim on this issue and I'll:
- Add you as a collaborator with push access on this repo
- Reply with a 1-command copy-paste for branch + PR
After accepting the invite:
gh repo clone Zimb/zimb
cd zimb
git checkout -b zimb/#TBD-<short-slug>
# ... your fix ...
git add -A && git commit -m "Fix: <one-line summary>"
git push -u origin zimb/#TBD-<short-slug>
gh pr create --fill --base main💡 This is a beta open-source project — contributions are voluntary and unpaid at this stage. You'll get full credit on the README contributors list and a public shoutout when the PR merges.
Powered by Zimb — open-source debugging platform · Issue composed by the user's active Copilot model
Activity
nazasnow commentedon Sep 17, 2026
I can help with this issue. Mind assigning it to me?
Zimb commentedon Sep 17, 2026
@nazasnow Yes, the problem is real, I can't install my git hub app from Organization. Do you have a solution ?
This is my first test result of a ticket written from vs code using @Zimb /fix.
strias-ai commentedon Sep 17, 2026
Executive Summary & Root Cause Analysis
Executive Summary:
The issue reported is a duplication bug in the WilderNature mod's Bounty Board system. Players can complete a request contract, select a reward, and then reopen the Bounty Board to find both rewards available again, allowing for duplication.
Root Cause Analysis:
The root cause of this issue lies in the logic that handles the reward distribution and the state management of the Bounty Board. Specifically, the code responsible for updating the player's inventory and the state of the Bounty Board is not correctly handling the reward distribution, leading to the duplication of rewards.
CODE FIXES
Backend (Server-Side)
The issue is likely in the
BountyBoardclass or similar where the reward distribution logic is implemented. We need to ensure that once a reward is given, it is removed from the available rewards list.Affected File:
src/main/java/com/example/wildernature/BountyBoard.javaCode Fix:
Frontend (Client-Side)
Ensure that the frontend is correctly displaying the available rewards and handling the reward selection.
Affected File:
src/main/resources/templates/bounty-board.htmlsrc/main/resources/static/js/bounty-board.jsCode Fix:
bounty-board.html:
bounty-board.js:
Testing & Verification Strategy
Unit Tests:
BountyBoardclass to ensure that rewards are correctly distributed and removed.Integration Tests:
Manual Testing:
By following these steps, we can ensure that the duplication bug is fixed and the Bounty Board system works as intended.
shruhicollections-beep commentedon Sep 18, 2026
Proposed Solution & Patch
Root Cause Analysis
The GitHub Apps detail view component conditionally renders the installation workflow only for personal accounts, omitting the
InstallButtonand repository selection modal for organization-level requests. Additionally, the client-side permission check fails to account for theorganizationscope when determining visibility of the installation affordance.Code Patch
File:
src/components/apps/AppDetails.tsxFile:
src/hooks/usePermissions.tsVerification / Test Plan
npm test -- --filter=AppDetailsto verifyInstallButtonrenders whenisOrgOwneris true.npm run e2e -- -g 'Org App Installation'to simulate an org owner navigating to My Apps, clicking Install, selecting a target org, and confirming the app appears in the organization’s Installed Apps list.Documentation Update: Add to
docs/installation.md:Ready to open a PR immediately with this implementation if assigned.