Skip to content

Releases: vtex-apps/b2b-organizations-graphql

v0.11.0

24 Mar 13:23
Compare
Choose a tag to compare

Fixed

  • In impersonateUser resolver, if clId is provided but userId is not, check CL document to see if userId exists there and then update storefront-permissions' user record
  • Similarly, when editing a user, if userId is null, check CL document to see if userId exists there and then sync it with storefront-permissions

Changed

  • Use storefront-permissions' GraphQL interface directly instead of sending requests through vtex.graphql-server

v0.10.0

08 Mar 19:30
Compare
Choose a tag to compare

Added

  • impersonateUser mutation
  • Permission checks related to sales roles

Changed

  • Increase timeout

Fixed

  • checkConfig promise bug that prevented MD schema from being created

v0.9.2

26 Jan 14:09
Compare
Choose a tag to compare

Fixed

  • Correctly handle spaces when searching masterdata
  • Use CL id instead of user id in saveUser and removeUser operations

v0.9.1

06 Jan 21:06
Compare
Choose a tag to compare
Release v0.9.1

v0.9.0

23 Dec 20:54
Compare
Choose a tag to compare

Added

  • Organization admins will be notified via email if an organization's status changes

Fixed

  • App no longer stores data in AppSettings, to allow app to function without being explicitly installed

v0.8.1

17 Dec 20:42
Compare
Choose a tag to compare

Fixed

  • Enable immediate indexing for MD schemas

Deprecated

  • costCenters property in organization schema (expect this to be an empty array)

v0.8.0

10 Dec 13:23
Compare
Choose a tag to compare

Added

  • Support for enabling/disabling specific payment terms per cost center

v0.7.0

06 Dec 14:59
Compare
Choose a tag to compare

Added

  • When an organization request is approved, the user specified as the organization admin is now created and/or the appropriate permissions and organization / cost center are assigned to them.

Fixed

  • Improved email templates for organization creation / approval / denial
  • Format of creation date MD schema fields to allow for proper date sorting
  • Properly return ID of created MD document in GraphQL mutations that create documents
  • Use returned value DocumentId from MD creation operations instead of Id to eliminate unnecessary replace() functions

v0.6.0

29 Nov 14:51
Compare
Choose a tag to compare

Added

  • Permissions check to getUsers query and saveUser, removeUser mutations

Changed

  • getCostCenterByIdStorefront query ID argument is now optional, will use user's cost center ID as default

Fixed

  • Made storefront queries private

v0.5.0

09 Nov 18:55
Compare
Choose a tag to compare

Added

  • Send email to Sales Admins and Customer Admin on organization and request updates.