openvibers/openvibe.network Commits
Grant media and tools events.subscription.manage: they subscribe to network.user.token_valid_after (sign-out everywhere)
Changes
@@@ -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', []],
@@ -42,6 +42,9 @@ const DEFAULT_GRANTS = [
@@ -42,6 +42,9 @@ const DEFAULT_GRANTS = [
['games', 'identity.subject.resolve', SELF_AUDIENCE, []],
['games', 'identity.subject.resolve', SELF_AUDIENCE, []],
// Games subscribes to network.user.token_valid_after (sign-out everywhere closes game sessions).
// Games subscribes to network.user.token_valid_after (sign-out everywhere closes game sessions).
['games', 'events.subscription.manage', 'openvibe.events', []],
['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
// Wave 9: Tips starts purchases and transfers in Billing, follows settlement through Events, and
// announces delivered tips in the creator's Live chat.
// announces delivered tips in the creator's Live chat.
['tips', 'billing.intent.create', 'openvibe.billing', []],
['tips', 'billing.intent.create', 'openvibe.billing', []],