openvibers/openvibe.network Commits

News grants: community.comment.write/moderate (story discussion threads) and ai.run.create/read limited to news.* (story summaries)

OP OpenVibers committed 23 Sept 2026 · 8e34f77773 · 1 file, +4 −0


Changes

ddiff --git a/server/identity/principals.js b/server/identity/principals.js
iindex 67f10565..62dfe1eb 100644
---- a/server/identity/principals.js
++++ b/server/identity/principals.js
@@@ -80,6 +80,10 @@ const DEFAULT_GRANTS = [
['news', 'events.event.publish', 'openvibe.events', []],
['news', 'events.subscription.manage', 'openvibe.events', []],
['news', 'identity.subject.resolve', SELF_AUDIENCE, []],
++ ['news', 'community.comment.write', 'openvibe.community', []],
++ ['news', 'community.comment.moderate', 'openvibe.community', []],
++ ['news', 'ai.run.create', 'openvibe.ai', ['news.*']],
++ ['news', 'ai.run.read', 'openvibe.ai', ['news.*']],
// Wave 19: Trade (informational) reads Sources filings and publishes events.
['trade', 'events.event.publish', 'openvibe.events', []],
['trade', 'sources.item.read', 'openvibe.sources', []],