openvibers/openvibe.network Commits

VIP may set a creator's tier prices on Billing (billing.tier.manage, contracts 0.201.0) (#262)

OP OpenVibers committed 27 days ago · 48d2af2286 · 1 file, +1 −0

Changes

ddiff --git a/server/identity/principals.js b/server/identity/principals.js
iindex 87b19013..fea16bd4 100644
---- a/server/identity/principals.js
++++ b/server/identity/principals.js
@@@ -172,6 +172,7 @@ const DEFAULT_GRANTS = [
['vip', 'billing.intent.create', 'openvibe.billing', []],
['vip', 'billing.subscription.manage', 'openvibe.billing', []],
['vip', 'billing.entitlement.check', 'openvibe.billing', []],
++ ['vip', 'billing.tier.manage', 'openvibe.billing', []], // a creator's tier prices, kept by Billing (contracts 0.201.0)
['vip', 'events.event.publish', 'openvibe.events', []],
['vip', 'events.subscription.manage', 'openvibe.events', []],
['vip', 'identity.subject.resolve', SELF_AUDIENCE, []],