Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

feat(storage): grant channels module access to media blob prefix

Steven Enamakel7e233810d574
diff --git a/crates/openhuman-core/src/modules/storage_grant_schemas.rs b/crates/openhuman-core/src/modules/storage_grant_schemas.rs
index ba511cc9b7..18d8575b4a 100644
--- a/crates/openhuman-core/src/modules/storage_grant_schemas.rs
+++ b/crates/openhuman-core/src/modules/storage_grant_schemas.rs
@@ -184,6 +184,8 @@ fn stream_prefixes(owner: &str) -> Vec<String> {
fn blob_prefixes(owner: &str) -> Vec<String> {
match owner {
"juice" => vec![format!("{}/", tinyjuice_bus::storage::CCR_PREFIX)],
+ // The module persists scoped channel media bytes under this prefix.
+ "channels" => vec![tinychannels_bus::storage::MEDIA_BLOB_PREFIX.to_owned()],
_ => Vec::new(),
}
}