openvibers/openvibe.network Commits
Grants: search, sources and tips publish events; search manages its Events subscription (Wave 14)
Changes
@@@ -33,7 +33,9 @@ const DEFAULT_GRANTS = [['community', 'identity.subject.resolve', SELF_AUDIENCE, []],['community', 'media.object.upload', 'openvibe.media', ['community']],// Wave 3: producers publish to OpenVibe.Events (their own source only, enforced by Events).-- ...['live', 'media', 'network', 'community', 'billing', 'chat', 'tools', 'games'].map(c => [c, 'events.event.publish', 'openvibe.events', []]),++ ...['live', 'media', 'network', 'community', 'billing', 'chat', 'tools', 'games', 'search', 'sources', 'tips'].map(c => [c, 'events.event.publish', 'openvibe.events', []]),++ // Wave 14: Search subscribes to <owner>.index_document.* deliveries.++ ['search', 'events.subscription.manage', 'openvibe.events', []],['live', 'events.subscription.manage', 'openvibe.events', []],['live', 'events.event.read', 'openvibe.events', []],['community', 'events.subscription.manage', 'openvibe.events', []],
@@ -33,7 +33,9 @@ const DEFAULT_GRANTS = [
@@ -33,7 +33,9 @@ const DEFAULT_GRANTS = [
['community', 'identity.subject.resolve', SELF_AUDIENCE, []],
['community', 'identity.subject.resolve', SELF_AUDIENCE, []],
['community', 'media.object.upload', 'openvibe.media', ['community']],
['community', 'media.object.upload', 'openvibe.media', ['community']],
// Wave 3: producers publish to OpenVibe.Events (their own source only, enforced by Events).
// Wave 3: producers publish to OpenVibe.Events (their own source only, enforced by Events).
- ...['live', 'media', 'network', 'community', 'billing', 'chat', 'tools', 'games'].map(c => [c, 'events.event.publish', 'openvibe.events', []]),
+ ...['live', 'media', 'network', 'community', 'billing', 'chat', 'tools', 'games', 'search', 'sources', 'tips'].map(c => [c, 'events.event.publish', 'openvibe.events', []]),
+ // Wave 14: Search subscribes to <owner>.index_document.* deliveries.
+ ['search', 'events.subscription.manage', 'openvibe.events', []],
['live', 'events.subscription.manage', 'openvibe.events', []],
['live', 'events.subscription.manage', 'openvibe.events', []],
['live', 'events.event.read', 'openvibe.events', []],
['live', 'events.event.read', 'openvibe.events', []],
['community', 'events.subscription.manage', 'openvibe.events', []],
['community', 'events.subscription.manage', 'openvibe.events', []],