openvibers/openvibe.network Commits

Grant media and tools events.subscription.manage: they subscribe to network.user.token_valid_after (sign-out everywhere)

OP OpenVibers committed 25 Sept 2026 · 6b93ae0956 · 1 file, +3 −0


Changes

ddiff --git a/server/identity/principals.js b/server/identity/principals.js
iindex 0ea47f03..0a01b935 100644
---- a/server/identity/principals.js
++++ b/server/identity/principals.js
@@@ -42,6 +42,9 @@ const DEFAULT_GRANTS = [
['games', 'identity.subject.resolve', SELF_AUDIENCE, []],
// Games subscribes to network.user.token_valid_after (sign-out everywhere closes game sessions).
['games', 'events.subscription.manage', 'openvibe.events', []],
++ // Media and Tools subscribe to network.user.token_valid_after too (their sign-in refuses older tokens).
++ ['media', 'events.subscription.manage', 'openvibe.events', []],
++ ['tools', 'events.subscription.manage', 'openvibe.events', []],
// Wave 9: Tips starts purchases and transfers in Billing, follows settlement through Events, and
// announces delivered tips in the creator's Live chat.
['tips', 'billing.intent.create', 'openvibe.billing', []],