-
-
Notifications
You must be signed in to change notification settings - Fork 1
Implement get_expiring_grants() for proactive grant lifecycle management #37
Copy link
Copy link
Open
Labels
P3-mediumMedium priority - should be completed when possibleMedium priority - should be completed when possibleenhancementNew 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 possibleenhancementNew 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 function to query capability grants that are expiring within a specified timeframe, enabling proactive grant lifecycle management.
Background
The capability-based sharing system (#27) sets expiration timestamps on grants but provides no mechanism to query upcoming expirations. Users and governance processes need to proactively manage expiring grants.
Implementation
Add
get_expiring_grants(threshold_seconds: u64)tocapability_based_sharing.rs:AgentToCapabilityMetadatalinksFiles
dnas/nondominium/zomes/coordinator/zome_person/src/capability_based_sharing.rstests/src/nondominium/person/person-capability-based-sharing.test.tsAcceptance Criteria
get_expiring_grants()function implemented and exposed ashdk_externRelated