diff --git a/CHANGELOG.md b/CHANGELOG.md index 929f041..d2beab5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Changed +- Changed the token validation directive of some operations + ## [1.43.2] - 2024-07-29 ### Added @@ -17,6 +20,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Changed - Changed the token validation directive of some operations + ## [1.43.0] - 2024-07-23 ### Added @@ -48,6 +52,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Check user is part of buyer org instead of "active" on checkUserAccess directive ## [1.40.5] - 2024-05-22 + ### Changed - Improved metrics and logging for checkUserAccess and checkAdminAccess directives diff --git a/graphql/schema.graphql b/graphql/schema.graphql index f72f53e..9cb259b 100644 --- a/graphql/schema.graphql +++ b/graphql/schema.graphql @@ -146,7 +146,7 @@ type Mutation { userId: ID! costId: ID! roleId: ID - ): MutationResponse @checkAdminAccess @cacheControl(scope: PRIVATE) + ): MutationResponse @validateAdminUserAccess @cacheControl(scope: PRIVATE) setActiveUserByOrganization(userId: ID): MutationResponse @validateStoreUserAccess @@ -157,7 +157,7 @@ type Mutation { @cacheControl(scope: PRIVATE) deleteUser(id: ID!, userId: ID, email: String!): MutationResponse - @checkAdminAccess + @validateAdminUserAccess @cacheControl(scope: PRIVATE) setCurrentOrganization(orgId: ID!, costId: ID!): MutationResponse