message: modified authorizationsDefinitions to deactivate basic payment method rights
diff: @@ -103,6 +103,7 @@ const AUTHORIZATION_DEFINITION: AuthorizationDefinition = {
  { resource: Entity.PAYMENT_METHODS, action: Action.LIST, attributes: ['*'] },
  {
  resource: Entity.PAYMENT_METHOD, action: [Action.READ, Action.CREATE, Action.DELETE], attributes: ['*'],
  + // TODO - rewrite delete method to send also the current user so basic can only delete its payment methods
  // condition: { Fn: 'EQUALS', args: { 'user': '$.owner' } }
  },
  ]
  @@ -131,6 +132,11 @@ const AUTHORIZATION_DEFINITION: AuthorizationDefinition = {
  // resource: Entity.INVOICE, action: [Action.DOWNLOAD], attributes: ['*'],
  // condition: { Fn: 'EQUALS', args: { 'user': '$.owner' } }
  // },
  + // {
  + // resource: Entity.PAYMENT_METHOD, action: [Action.READ, Action.CREATE, Action.DELETE], attributes: ['*'],
  + // TODO - rewrite delete method to send also the current user so basic can only delete its payment methods
  + // condition: { Fn: 'EQUALS', args: { 'user': '$.owner' } }
  + // },
  // -----------------------------------------------------------------------------------------------
  { resource: Entity.SITES, action: Action.LIST, attributes: ['*'] },
  { resource: Entity.SITE, action: Action.READ, attributes: ['*'] },
  @@ -215,10 +221,6 @@ const AUTHORIZATION_DEFINITION: AuthorizationDefinition = {
  condition: { Fn: 'EQUALS', args: { 'user': '$.owner' } }
  },
  { resource: Entity.NOTIFICATION, action: Action.CREATE, attributes: ['*'] },
  - {
  - resource: Entity.PAYMENT_METHOD, action: [Action.READ, Action.CREATE, Action.DELETE], attributes: ['*'],
  - condition: { Fn: 'EQUALS', args: { 'user': '$.owner' } }
  - },
  ]
  },
  demo: {
  