billing - authorization - comments + typo
MODIFY
src/authorization/AuthorizationsDefinition.ts
src/authorization/AuthorizationsDefinition.ts
@@ -93,9 +93,9 @@ const AUTHORIZATION_DEFINITION: AuthorizationDefinition = {
{ resource: Entity.PRICING, action: [Action.READ, Action.UPDATE], attributes: ['*'] },
{ resource: Entity.BILLING, action: [Action.CHECK_CONNECTION] },
{ resource: Entity.TAXES, action: [Action.LIST], attributes: ['*'] },
- // -----------------------------------------------------------------------------------------------
- // TODO - put it pack as soon as BILLING has been validated on SLF
- // -----------------------------------------------------------------------------------------------
+ // ---------------------------------------------------------------------------------------------------
+ // TODO - no use-case so far - clarify whether a SYNC INVOICES and CREATE INVOICE makes sense or not!
+ // ---------------------------------------------------------------------------------------------------
// { resource: Entity.INVOICES, action: [Action.LIST, Action.SYNCHRONIZE], attributes: ['*'] },
// { resource: Entity.INVOICE, action: [Action.DOWNLOAD, Action.CREATE], attributes: ['*'] },
{ resource: Entity.INVOICES, action: [Action.LIST], attributes: ['*'] },
@@ -183,7 +183,7 @@ const AUTHORIZATION_DEFINITION: AuthorizationDefinition = {
attributes: ['id', 'name', 'issuer', 'logo', 'address']
},
// -----------------------------------------------------------------------------------------------
- // TODO - put it pack as soon as BILLING has been validated on SLF
+ // TODO - put it back as soon as BILLING has been validated on SLF
// -----------------------------------------------------------------------------------------------
// { resource: Entity.INVOICES, action: [Action.LIST, Action.SYNCHRONIZE], attributes: ['*'] },
// {

billing - authorization - comments + typo