openvibers/openvibe.network Commits

Shoes may publish its events (Search documents) (#520)

OP OpenVibers committed 11 days ago · 608c068005 · 1 file, +3 −0

Changes

ddiff --git a/server/identity/principals.js b/server/identity/principals.js
iindex 3bc7af7d..f947aef7 100644
---- a/server/identity/principals.js
++++ b/server/identity/principals.js
@@@ -654,6 +654,9 @@ const DEFAULT_GRANTS = [
// OpenVibe.Tours and OpenVibe.Shoes (contracts 0.265.0): their account-event subscriptions at boot.
['tours', 'events.subscription.manage', 'openvibe.events', []],
['shoes', 'events.subscription.manage', 'openvibe.events', []],
++ // Shoes publishes its model pages to OpenVibe.Search as shoes.index_document.* (contracts 0.273.0, through its own
++ // outbox and openvibe-publishing/search-feed).
++ ['shoes', 'events.event.publish', 'openvibe.events', []],
// OpenVibe.Report (contracts 0.237.0): it quotes Billing's read API and never computes money, so it holds the
// stats read and the per-subject balance read; it subscribes to live.stream.ended and the frame beacon at boot.
// It keeps nothing about people (no database and no account-data route), so it holds neither export nor deletion.