Skip to content

Contract: Access Control & Authorization #82

@ogazboiz

Description

@ogazboiz

Ensure only authorized parties can cancel or withdraw.

Context:
Prevent griefing or theft. Only the recipient should withdraw. Only sender (or maybe recipient) can cancel.

Independence:
Add checks to existing functions.

Acceptance Criteria:

  • Use recipient.require_auth() in withdrawal
  • Use sender.require_auth() in cancel
  • Test unauthorized access failures

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programcontractsSmart contract related taskssecuritySecurity related tasks

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions