Slow specs on CI
CMS spec being weird
Add foreign keys, sanitising data first
Remove trailing relations on destruction for EnterpriseFee and Variant
Add API call to soft-delete a variant
Nest variant soft delete route under product resource
BPE uses soft-delete
Spec access denied to regular user when soft-deleting variants
Extract sign_in_as_user method, test managed orders API access for normal user and enterprise user
Test managed products API access for all user types
Do not show rspec profiling by default
Enterprise user can soft-delete a variant. BUT, only its own variants.
Authorise access to OrderCycles API
Do not add dummy distributor to orders without one - they don't need it
Admin order cycle listing does not show order cycles that enterprise users don't have access to
Extract admin order cycle index row into partial
On admin order cycle edit page, do not show exchanges for enterprises the user doesn't manage
Merge branch 'foreign-keys'
Migration works without countries or states (ie. in CI)
In specs, correctly disable referential integrity for postgres