openvibers/openvibe.network Commits

Grant wiki community.comment.moderate: Wiki hides a page's discussion thread when the page is unpublished, deleted or made private

OP OpenVibers committed 23 Sept 2026 · cd1da60f5c · 1 file, +1 −0


Changes

ddiff --git a/server/identity/principals.js b/server/identity/principals.js
iindex f78e7bbc..1af90688 100644
---- a/server/identity/principals.js
++++ b/server/identity/principals.js
@@@ -52,6 +52,7 @@ const DEFAULT_GRANTS = [
// Wave 16: Wiki publishes events, attaches Community discussion, cites Sources items, reads its Media.
['wiki', 'events.event.publish', 'openvibe.events', []],
['wiki', 'community.comment.write', 'openvibe.community', []],
++ ['wiki', 'community.comment.moderate', 'openvibe.community', []],
['wiki', 'sources.item.read', 'openvibe.sources', []],
['wiki', 'media.object.read', 'openvibe.media', ['wiki']],
// Wave 16: Blog (same shape as Wiki; it may hide the thread of a post that stopped being public).