openvibers/openvibe.network Commits
Network: media-hub may publish its events (mediahub.video.published, mediahub.picture.uploaded) (#239)
Changes
@@@ -31,6 +31,9 @@ const DEFAULT_GRANTS = [// Their pages go into OpenVibe.Search: <svc>.index_document.* through each one's outbox (openvibe-publishing/search-feed,// contracts 0.128.0). Inventory publishes already (below)....['work', 'rent', 'help', 'quest'].map((svc) => [svc, 'events.event.publish', 'openvibe.events', []]),++ // MediaHub publishes mediahub.video.published and mediahub.picture.uploaded (contracts 0.196.0; Events#91 gives a++ // hyphenated service its namespace without the hyphen).++ ['media-hub', 'events.event.publish', 'openvibe.events', []],// The same two subscriptions for the services that gained an account-event route on 2026-10-09 (SDK 0.37.0// startSubscriptions); deals, trade, tips and vip already hold the grant for their other subscriptions....['watch', 'services', 'wiki', 'blog', 'bot'].map((svc) => [svc, 'events.subscription.manage', 'openvibe.events', []]),
@@ -31,6 +31,9 @@ const DEFAULT_GRANTS = [
@@ -31,6 +31,9 @@ const DEFAULT_GRANTS = [
// Their pages go into OpenVibe.Search: <svc>.index_document.* through each one's outbox (openvibe-publishing/search-feed,
// Their pages go into OpenVibe.Search: <svc>.index_document.* through each one's outbox (openvibe-publishing/search-feed,
// contracts 0.128.0). Inventory publishes already (below).
// contracts 0.128.0). Inventory publishes already (below).
...['work', 'rent', 'help', 'quest'].map((svc) => [svc, 'events.event.publish', 'openvibe.events', []]),
...['work', 'rent', 'help', 'quest'].map((svc) => [svc, 'events.event.publish', 'openvibe.events', []]),
+ // MediaHub publishes mediahub.video.published and mediahub.picture.uploaded (contracts 0.196.0; Events#91 gives a
+ // hyphenated service its namespace without the hyphen).
+ ['media-hub', 'events.event.publish', 'openvibe.events', []],
// The same two subscriptions for the services that gained an account-event route on 2026-10-09 (SDK 0.37.0
// The same two subscriptions for the services that gained an account-event route on 2026-10-09 (SDK 0.37.0
// startSubscriptions); deals, trade, tips and vip already hold the grant for their other subscriptions.
// startSubscriptions); deals, trade, tips and vip already hold the grant for their other subscriptions.
...['watch', 'services', 'wiki', 'blog', 'bot'].map((svc) => [svc, 'events.subscription.manage', 'openvibe.events', []]),
...['watch', 'services', 'wiki', 'blog', 'bot'].map((svc) => [svc, 'events.subscription.manage', 'openvibe.events', []]),