openvibers/openvibe.network Commits

Grant games events.subscription.manage on openvibe.events: Games subscribes to network.user.token_valid_after so a sign-out everywhere closes game sessions

OP OpenVibers committed 24 Sept 2026 · 67f7013932 · 1 file, +2 −0


Changes

ddiff --git a/server/identity/principals.js b/server/identity/principals.js
iindex ff662d89..0ea47f03 100644
---- a/server/identity/principals.js
++++ b/server/identity/principals.js
@@@ -40,6 +40,8 @@ const DEFAULT_GRANTS = [
['tools', 'media.object.read', 'openvibe.media', ['tools']],
['games', 'media.object.upload', 'openvibe.media', ['games']],
['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', []],
// 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', []],