Background
SkillSphere may offer session recording features. The contract must store explicit on-chain consent from both parties to avoid legal issues.
Goal
Add a recording_consent: RecordingConsent field to the Session struct with states None, SeekerApproved, BothApproved.
Acceptance Criteria
grant_recording_consent(session_id) callable by seeker or expert.
- Recording is only "approved" when both parties have consented.
- Consent state queryable via
get_session.
- Emits
RecordingConsentUpdated { session_id, status }.
Key Files
contracts/src/lib.rs
Background
SkillSphere may offer session recording features. The contract must store explicit on-chain consent from both parties to avoid legal issues.
Goal
Add a
recording_consent: RecordingConsentfield to theSessionstruct with statesNone,SeekerApproved,BothApproved.Acceptance Criteria
grant_recording_consent(session_id)callable by seeker or expert.get_session.RecordingConsentUpdated { session_id, status }.Key Files
contracts/src/lib.rs