#14282 [Shopify] Check staff access independently of plan detection
Shopify connector now checks staff member access independently through API queries instead of relying solely on plan detection, preventing import failures when Shopify denies access despite showing Advanced plan status.
- 10files
- 7AL files
- 7objects
Pull request · merged into main (BC30) on 2026-12-01 by onbuyuka · 10 files (+277 -34), 7 AL · fix · tier official · reviewed (checked by Opus)
What changed
- New Boolean field ‘Can Access Staff Members’ tracks actual staff access permission separately from plan type
- Staff access verified via GraphQL query whenever shop settings are refreshed, only for eligible plans
- Order queries, salesperson mapping, and staff sync now use the new flag instead of plan-based detection
- Plan type flag and B2B catalog behavior remain unchanged for backward compatibility
- Upgrade seeds the new field from existing plan flag; no network calls during upgrade process
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 30103 “Shpfy Communication Mgt.”, Shopify: modified
- Codeunit 30106 “Shpfy Upgrade Mgt.”, Shopify: modified
- Page 30101 “Shpfy Shop Card”, Shopify: modified
- Table 30102 “Shpfy Shop”, Shopify: modified
- Enum 30111 “Shpfy GraphQL Type”, Shopify: modified
- Codeunit 30161 “Shpfy Import Order”, Shopify: modified
- Codeunit 30105 “Shpfy Staff Member API”, Shopify: modified
Context
- Work items: AB#659801
- Labels: AL: Apps (W1), Team: Integrations
- Systems: integration
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Extending Shopify — possibly related: touches Table 30102 “Shpfy Shop”
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).