[UI Bug] Unauthorized 'Edit' and 'Delete' buttons visible on /bounties page
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 65/100
Research direction
Start at the /bounties page and trace where bounty cards render the "Edit Amount" and "Delete" buttons. Reproduce the behavior with a bounty owned by another user or organization, then verify that unauthorized users no longer see those actions while authorized users retain them.
Written by the indexing model from the issue text.
Description
[UI Bug] Unauthorized 'Edit Amount' and 'Delete' buttons visible to non-owners
Summary
On the bounties listing page, the "Edit Amount" and "Delete" buttons are being rendered for users who do not have administrative permissions over the bounty. While the backend correctly prevents the action (showing an "Unauthorized" message), the buttons should be hidden entirely from the UI for non-authorized users.
Steps to Reproduce
- Log in to Algora.io.
- Navigate to the bounties page (e.g.,
algora.io/bounties). - Locate a bounty created by another user/org (e.g., the $2,500 IMAP bounty).
- Observe that the "Edit Amount" and "Delete" buttons are visible on the card.
- Click either button; a toast notification appears stating:
"You are not authorized to edit bounty amounts".
Expected Behavior
The UI should perform a permission check before rendering these action buttons. If the current user session is not authorized to modify the bounty, these buttons should not be visible.
Actual Behavior
The buttons are visible to all logged-in users, leading to a confusing UX where the user is presented with actions they cannot perform.
Visual Proof
Environment
- URL:
https://algora.io/bounties - Browser: Chrome/Firefox
- Dominant language
- Elixir
- Stars
- 1.5k
- Forks
- 152
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from algora-io/algora
-
Feature Request: Force external bounty links to open in _blank target to preserve navigation context Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
Home page error Open
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
All issues in algora-io/algora
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ash-project/ash#2954 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
membraneframework/boombox#149 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
beam-community/bamboo#772 · 1 reaction ·