diff --git a/crates/volt-core/src/plugin_grant_registry.rs b/crates/volt-core/src/plugin_grant_registry.rs
index fd94b1e..15cb870 100644
--- a/crates/volt-core/src/plugin_grant_registry.rs
+++ b/crates/volt-core/src/plugin_grant_registry.rs
@@ -1,10 +1,18 @@
-use std::collections::{HashMap, HashSet};
+use std::collections::HashMap;
use std::sync::Mutex;
use thiserror::Error;
use crate::grant_store;
+#[derive(Debug, Clone, PartialEq, Eq)]
+pub struct GrantDelegation {
+ pub grant_id: String,
+ pub plugin_id: String,
+ pub delegated_at: u64,
+ pub revoked: bool,
+}
+
#[derive(Debug, Error, PartialEq, Eq)]
pub enum PluginGrantError {
#[error("PLUGIN_GRANT_INVALID: grant ID does not exist")]
@@ -13,11 +21,12 @@ pub enum PluginGrantError {
AlreadyDelegated,
}
-static PLUGIN_GRANTS: Mutex