Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Merge branch 'master' into feature/permission-groups
IKarbowiak3b4294b11b81
diff --cc CHANGELOG.mdindex 4d48431f52,9494061377..e9782244f8--- a/CHANGELOG.md+++ b/CHANGELOG.md@@@ -80,14 -80,12 +80,20 @@@ All notable, unreleased changes to thi- Add --force flag to cleardb command - #5302 by @maarcingebala- Require non-empty message in orderAddNote mutation - #5316 by @maarcingebala- Stock management refactor - #5323 by @IKarbowiak+- Update create permission group restriction - #5355 by @IKarbowiak+- Add groups to user type - #5368 by @IKarbowiak+- Allow specifying users in groups mutations - #5362 by @IKarbowiak+- Add user can manage field to group type - #5376 by @IKarbowiak+- Prevent users from modifying a group with permissions they don't hold - #5380 by @IKarbowiak+- Add user_permissions on user type - #5390 by @IKarbowiak+- Update user to group assign restriction - #5395 by @IKarbowiak+- Add editable groups on user type - #5408 by @IKarbowiak+ - Add discount error codes - #5348 by @IKarbowiak+ - Add benchmarks to checkout mutations - #5339 by @fowczarek+ - Add pagination tests - #5363 by @fowczarek+ - Add ability to assign multiple warehouses in mutations to create/update a shipping zone - #5399 by @fowczarek+ - Add filter by ids to warehouses query - #5414 by @fowczarek+## 2.9.0diff --cc saleor/graphql/account/types.pyindex c0e808d5ef,0ed0e7c73a..ca88fd40e4--- a/saleor/graphql/account/types.py+++ b/saleor/graphql/account/types.py@@@ -19,9 -19,7 +19,8 @@@ from ..meta.deprecated.resolvers imporfrom ..meta.types import ObjectWithMetadatafrom ..utils import format_permissions_for_displayfrom ..wishlist.resolvers import resolve_wishlist_items_from_user- from ..wishlist.types import WishlistItemfrom .enums import CountryCodeEnum, CustomerEventsEnum+from .utils import can_user_manage_group, get_groups_which_user_can_manageclass AddressInput(graphene.InputObjectType):diff --cc saleor/graphql/core/utils/error_codes.pyindex b521469ef0,b8474d8a37..b8bc75f3fd--- a/saleor/graphql/core/utils/error_codes.py+++ b/saleor/graphql/core/utils/error_codes.py@@@ -1,8 -1,9 +1,9 @@@from enum import Enum-from ....account.error_codes import AccountErrorCode+from ....account.error_codes import AccountErrorCode, PermissionGroupErrorCodefrom ....checkout.error_codes import CheckoutErrorCodefrom ....core.error_codes import ShopErrorCode+ from ....discount.error_codes import DiscountErrorCodefrom ....extensions.error_codes import ExtensionsErrorCodefrom ....giftcard.error_codes import GiftCardErrorCodefrom ....menu.error_codes import MenuErrorCode