openvibers/openvibe.network Commits
Network: Exchange may read the sources code repository list (#865)
Changes
@@@ -785,6 +785,9 @@ const DEFAULT_GRANTS = [// behalf (on_behalf_of), and the catalog/usage reads are public.['exchange', 'search.document.write', 'openvibe.search', []],['exchange', 'events.subscription.manage', 'openvibe.events', []],++ // Exchange's /code page and its public code API read the GitHub repositories OpenVibe.Sources keeps++ // (Sources 2026-11-12, the `github` source in category code).++ ['exchange', 'sources.item.read', 'openvibe.sources', []],['exchange', 'ai.run.create', 'openvibe.ai', ['ai.complete']],// OpenVibe.Exchange's owner-only /console calls AI's admin JSON API. Exchange checks the signed-in Network// owner's role before every console route; the service token keeps only the read and operator-write caps needed
@@ -785,6 +785,9 @@ const DEFAULT_GRANTS = [
@@ -785,6 +785,9 @@ const DEFAULT_GRANTS = [
// behalf (on_behalf_of), and the catalog/usage reads are public.
// behalf (on_behalf_of), and the catalog/usage reads are public.
['exchange', 'search.document.write', 'openvibe.search', []],
['exchange', 'search.document.write', 'openvibe.search', []],
['exchange', 'events.subscription.manage', 'openvibe.events', []],
['exchange', 'events.subscription.manage', 'openvibe.events', []],
+ // Exchange's /code page and its public code API read the GitHub repositories OpenVibe.Sources keeps
+ // (Sources 2026-11-12, the `github` source in category code).
+ ['exchange', 'sources.item.read', 'openvibe.sources', []],
['exchange', 'ai.run.create', 'openvibe.ai', ['ai.complete']],
['exchange', 'ai.run.create', 'openvibe.ai', ['ai.complete']],
// OpenVibe.Exchange's owner-only /console calls AI's admin JSON API. Exchange checks the signed-in Network
// OpenVibe.Exchange's owner-only /console calls AI's admin JSON API. Exchange checks the signed-in Network
// owner's role before every console route; the service token keeps only the read and operator-write caps needed
// owner's role before every console route; the service token keeps only the read and operator-write caps needed