Skip to content

Allow Limited and Ops to withdraw and reinstate participants - #148

Merged
leowilkin merged 2 commits into
hackclub:mainfrom
jollyroger182:feat/limited-ops-withdraw
Sep 26, 2026
Merged

leowilkin merged 2 commits into
hackclub:mainfrom
jollyroger182:feat/limited-ops-withdraw

Conversation

@jollyroger182

Copy link
Copy Markdown
Member

Closes #147

@jollyroger182
jollyroger182 marked this pull request as ready for review September 23, 2026 19:16
The cross-event test passed vacuously: the controller scopes the lookup
to the current event, so the request 404s before the policy's
Current.event guard is reached. Assert the not-found redirect and pin the
policy guard directly.

The read_only "no Withdraw button" case was checking a not-authorized
redirect body, which trivially lacks the button. Assert the redirect for
read_only and a rendered page for safeguarding_lead.
@leowilkin
leowilkin enabled auto-merge (squash) September 26, 2026 07:46
@leowilkin
leowilkin disabled auto-merge September 26, 2026 07:47
@leowilkin
leowilkin merged commit 7aa8e4d into hackclub:main Sep 26, 2026
10 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.

Limited users can't see the withdraw button

2 participants