openvibers/openvibe.network Commits

Network: Host may keep catalog discussion threads on Community (#152)

OP OpenVibers committed 11 Oct 2026 · 97942c793b · 1 file, +3 −0

Grants the `host` principal `community.comment.write` and `community.comment.moderate` (audience openvibe.community). Host's catalog pages resolve a Community discussion thread for each provider and plan, and hide or reopen it when the entry is hidden or returns (Host#74), as News, Deals and Live already do.

Changes

ddiff --git a/server/identity/principals.js b/server/identity/principals.js
iindex 9e84fafb..84d23504 100644
---- a/server/identity/principals.js
++++ b/server/identity/principals.js
@@@ -193,6 +193,9 @@ const DEFAULT_GRANTS = [
['host', 'events.event.publish', 'openvibe.events', []],
// The hosting catalog (plan T20 step 3) reads OpenVibe.Sources items in category hosting (Host#69).
['host', 'sources.item.read', 'openvibe.sources', []],
++ // The hosting catalog's provider and plan discussion threads on OpenVibe.Community (Host#74).
++ ['host', 'community.comment.write', 'openvibe.community', []],
++ ['host', 'community.comment.moderate', 'openvibe.community', []],
// ADR-030 (WS-E task 4): Live rebuilds its follows projection from Network's graph.
['live', 'network.follows.read', SELF_AUDIENCE, []],
['live', 'network.follows.write', SELF_AUDIENCE, []],