Skip to content

Hide bounty actions from unauthorized org viewers#297

Open
lizardflaco wants to merge 1 commit into
algora-io:mainfrom
lizardflaco:earnops/algora-238
Open

Hide bounty actions from unauthorized org viewers#297
lizardflaco wants to merge 1 commit into
algora-io:mainfrom
lizardflaco:earnops/algora-238

Conversation

@lizardflaco
Copy link
Copy Markdown

Fixes #238.

What changed

  • Hide the org bounty edit/delete action group unless the current viewer has an org :admin or :mod role.
  • Keep the existing server-side authorization in place for edit-bounty-amount and delete-bounty events.
  • Add LiveView coverage for non-member viewers and org admins on the org bounties page.

Verification

  • git diff --check
  • Not run: mix test test/algora_web/live/org/bounties_live_test.exs because mix is not installed in this local environment.

Notes

  • Scoped to the EarnOps candidate issue.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 21, 2026

CLA assistant check
All committers have signed the CLA.

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.

[UI Bug] Unauthorized 'Edit' and 'Delete' buttons visible on /bounties page

2 participants