openvibers/openvibe.network Commits
Network: events.subscription.manage for watch, services, wiki, blog and bot, so they create their two account-event subscriptions at boot (ADR-033; the account grants follow once they are subscribed) (#93)
Changes
@@@ -28,6 +28,9 @@ const DEFAULT_GRANTS = [['quest', 'events.subscription.manage', 'openvibe.events', []],// They subscribe to network.account.export_requested and network.account.deleted at boot (ADR-033)....['actor', 'food', 'help', 'work', 'rent', 'media-hub'].map((svc) => [svc, 'events.subscription.manage', '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', []]),// MediaHub resolves the usernames an owner names on a share link to subjects (only subjects are matched).['media-hub', 'identity.subject.resolve', SELF_AUDIENCE, []],['live', 'network.coins.debit', SELF_AUDIENCE, ['live']],
@@ -28,6 +28,9 @@ const DEFAULT_GRANTS = [
@@ -28,6 +28,9 @@ const DEFAULT_GRANTS = [
['quest', 'events.subscription.manage', 'openvibe.events', []],
['quest', 'events.subscription.manage', 'openvibe.events', []],
// They subscribe to network.account.export_requested and network.account.deleted at boot (ADR-033).
// They subscribe to network.account.export_requested and network.account.deleted at boot (ADR-033).
...['actor', 'food', 'help', 'work', 'rent', 'media-hub'].map((svc) => [svc, 'events.subscription.manage', 'openvibe.events', []]),
...['actor', 'food', 'help', 'work', 'rent', 'media-hub'].map((svc) => [svc, 'events.subscription.manage', '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', []]),
// MediaHub resolves the usernames an owner names on a share link to subjects (only subjects are matched).
// MediaHub resolves the usernames an owner names on a share link to subjects (only subjects are matched).
['media-hub', 'identity.subject.resolve', SELF_AUDIENCE, []],
['media-hub', 'identity.subject.resolve', SELF_AUDIENCE, []],
['live', 'network.coins.debit', SELF_AUDIENCE, ['live']],
['live', 'network.coins.debit', SELF_AUDIENCE, ['live']],