-
-
Notifications
You must be signed in to change notification settings - Fork 1
Implement private data access request/approval workflow #40
Copy link
Copy link
Open
Labels
P3-mediumMedium priority - should be completed when possibleMedium priority - should be completed when possibleagent-progressionAgent capability advancement - Simple → Accountable → Primary AccountableAgent capability advancement - Simple → Accountable → Primary AccountableenhancementNew feature or requestNew feature or requestphase-2-governancePhase 2 - Enhanced governance & process integration (current)Phase 2 - Enhanced governance & process integration (current)zome-personPerson zome - agent identity, profiles, rolesPerson zome - agent identity, profiles, roles
Milestone
Metadata
Metadata
Assignees
Labels
P3-mediumMedium priority - should be completed when possibleMedium priority - should be completed when possibleagent-progressionAgent capability advancement - Simple → Accountable → Primary AccountableAgent capability advancement - Simple → Accountable → Primary AccountableenhancementNew feature or requestNew feature or requestphase-2-governancePhase 2 - Enhanced governance & process integration (current)Phase 2 - Enhanced governance & process integration (current)zome-personPerson zome - agent identity, profiles, rolesPerson zome - agent identity, profiles, roles
Type
Projects
Status
Backlog
Overview
Implement a request/approval workflow for private data access, complementing the existing direct grant system from #27.
Background
The current system (#27) only supports direct grants where the data owner proactively shares data. A request workflow would allow agents to request specific private data fields, which the owner can then approve or deny.
Implementation
New functions needed:
request_private_data_access(target_agent, requested_fields, reason)— Create access requestrespond_to_data_request(request_hash, approved, rationale)— Approve/deny with rationaleget_pending_data_requests()— List pending requests for current agentget_my_data_requests()— List requests made by current agentNew entry type:
DataAccessRequestwith status tracking (pending/approved/denied/expired)Use Cases
Files
dnas/nondominium/zomes/coordinator/zome_person/src/capability_based_sharing.rsdnas/nondominium/zomes/integrity/zome_person/src/lib.rstests/src/nondominium/person/person-capability-based-sharing.test.tsAcceptance Criteria
DataAccessRequestentry type with status trackingRelated