Recap: the three-layer lens
For any requirement, ask three questions in turn.
| Layer | Question |
|---|---|
| Native | What does commercetools handle out of the box? |
| Configurable | What can be configured or extended within commercetools? |
| Modeling strategy | How can you model this requirement using commercetools resources and patterns? |
Applied to access control, the layers map cleanly onto the resources from this module.
| Layer | Applied to "who can do what inside the buyer organization" |
|---|---|
| Native | Associates, Associate Roles, and the permission catalog define who can act and what they can do; the Permission Gate enforces it on as-associate calls. |
| Configurable | Custom roles, the buyerAssignable flag, and associateMode / inheritance settings shape access per Business Unit and across the hierarchy. |
| Modeling strategy | Compose roles, inheritance, and a provisioning pattern to match the organization's structure and governance, separating requester and approver roles for separation of duties. |
Where integration begins
The framework is designed to cover the majority of B2B implementations using native capabilities. It is still useful to recognize the points where org modeling reaches beyond the platform and into integration, so you can set realistic expectations:
- Buyer onboarding automation beyond the built-in provisioning patterns, for example syncing buyer organizations from an external system of record.
- SSO and IdP integration, where the IdP owns identity and a BFF provisions Associates.
- Punchout catalogs (cXML or OCI), where the buyer's procurement system drives the shopping session.
These are touchpoints to flag, not gaps to dwell on. As in Module 1, the customer-specific business logic these touchpoints imply lives in an orchestration or middle layer on top of the native resources. The goal is to know which requirements you meet natively and which need an integration, so your architecture is honest about both.
Worked example: Zen Electron Trade access-control architecture
Bring Modules 1 and 2 together for all three buyers, mapping each requirement to the layer that meets it.
- Horizon Hotels: a flat Company with a small team. Native Associates and a buyer role plus an administrator role cover access. Modeling strategy: seller-managed provisioning (Pattern A). No integration boundary is crossed.
- Pacific Property Group: a Company with two Divisions, buying and approving separated. Native roles plus configurable
associateModeandinheritancelet a company administrator manage both Divisions while buyers stay local. Modeling strategy: admin-first provisioning (Pattern B) with separated requester and approver roles, ready for Approval Rules in Module 7. - Atlas Corporate Solutions: a multi-region enterprise with an existing IdP. Native Associates and roles still authorize actions, but authentication is owned by the IdP. Modeling strategy: SSO and auto-provisioning (Pattern D), which crosses an integration boundary: the IdP-to-role mapping lives in a BFF, outside the platform.
Across the three, the native resources are the same; what changes is the configuration and the provisioning pattern, and only the largest buyer crosses an integration boundary. That is the framework working as intended: cover the common case natively, and name the boundary when you reach it.
Key takeaways
- The Native / Configurable / Modeling strategy lens gives a repeatable way to evaluate org-modeling requirements; it is a learning aid, not official guidance.
- For access control: Associates, roles, and the Permission Gate are native; custom roles,
buyerAssignable, and inheritance settings are configurable; composing them into a governance model is the modeling strategy. - Authentication (who the user is) is often owned by an IdP; authorization (what they may do) is owned by commercetools through Associate permissions.
- Integration boundaries in org modeling include external onboarding automation, SSO/IdP integration, and punchout catalogs.
- Most B2B access-control needs are met natively; name the integration boundary only when a requirement genuinely reaches beyond the platform.