Releases: vtex-apps/b2b-organizations-graphql
Releases · vtex-apps/b2b-organizations-graphql
v0.11.0
Fixed
- In
impersonateUser
resolver, ifclId
is provided butuserId
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
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
Fixed
- Correctly handle spaces when searching masterdata
- Use CL id instead of user id in
saveUser
andremoveUser
operations
v0.9.1
Release v0.9.1
v0.9.0
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
Fixed
- Enable immediate indexing for MD schemas
Deprecated
costCenters
property in organization schema (expect this to be an empty array)
v0.8.0
Added
- Support for enabling/disabling specific payment terms per cost center
v0.7.0
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 ofId
to eliminate unnecessaryreplace()
functions
v0.6.0
Added
- Permissions check to
getUsers
query andsaveUser
,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
Added
- Send email to Sales Admins and Customer Admin on organization and request updates.