You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8e3140d
Browse filesBrowse the repository at this point in the historyBrowse files
committed
fix(relay): check invite issuer role inside the mint transaction
read the issuer's owner/admin role for share inside the mint
transaction, after the admission lock, so a concurrent demotion,
removal or ownership transfer either lands first and refuses the mint
or waits for it. both /api/invites and the operator route mint through
db::mint_relay_invite_as_admin.
the operator route drops its separate role read, records the target
community and the not_relay_admin or restricted refusal on its access
line, uses coded_api_error for its own errors, and narrows the
lifecycle comment to what the transaction rechecks. postgres tests
cover a demotion and a deletion fence landing mid-mint.
Co-authored-by: peon <9ac6794b000690b7e814eb1805ad32405d0bec7d52838de3a86cf967565dacc0@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Kalvin Chau <[email protected]>
0 commit comments