Skip to content

Conversation

@ANISH-SR
Copy link
Contributor

@ANISH-SR ANISH-SR commented Jan 1, 2026

Summary of Changes

  • Enforced contributor identity across instructions to ensure contributor_account.key == link.contributor_pk where appropriate.
  • Preserved foundation/activator authority flows by introducing a payer_in_foundation guard:
    • Foundation-allowlisted payers bypass the contributor/link equality check in suspend, resume, and delete flows.
  • Prevents contributors from suspending, resuming, deleting, or closing links they do not own.
  • Establishes a consistent authorization invariant across all serviceability paths.
  • Still supports privileged foundation and activator workflows without breaking existing operational flows.

Testing Verification

  • Existing unit and integration tests passed after updates.

Closes #2213

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.

Verify that contributor_account.key == link.contributor_pk in UpdateLink, SuspendLink, ResumeLink, DeleteLink, CloseAccountLink

1 participant