优化
This commit is contained in:
@@ -81,11 +81,12 @@ describe('admin router access metadata', () => {
|
||||
|
||||
it('registers the confirmed phase-four routes with stable list permissions', () => {
|
||||
const expected = [
|
||||
['overseas-last-mile-orders', '/overseas-warehouse/last-mile-orders', 'platform:lastleg:order:list'],
|
||||
['overseas-inbound-orders', '/overseas-warehouse/inbound-orders', 'platform:lastleg:inbound-plan:list'],
|
||||
['overseas-relabel-orders', '/overseas-warehouse/relabel-orders', 'platform:lastleg:relabel:list'],
|
||||
['overseas-pallets', '/overseas-warehouse/pallets', 'platform:pallet:list'],
|
||||
['overseas-inventory', '/overseas-warehouse/inventory', 'platform:lastleg:inventory:list'],
|
||||
['overseas-last-mile-orders', '/overseas-warehouse/last-mile-orders', 'platform:overseas-warehouse:last-mile-order:list'],
|
||||
['overseas-inbound-orders', '/overseas-warehouse/inbound-orders', 'platform:overseas-warehouse:inbound-order:list'],
|
||||
['overseas-dispatches', '/overseas-warehouse/dispatches', 'platform:overseas-warehouse:dispatch:list'],
|
||||
['overseas-relabel-orders', '/overseas-warehouse/relabel-orders', 'platform:overseas-warehouse:relabel-order:list'],
|
||||
['overseas-pallets', '/overseas-warehouse/pallets', 'platform:overseas-warehouse:pallet:list'],
|
||||
['overseas-inventory', '/overseas-warehouse/inventory', 'platform:overseas-warehouse:inventory:list'],
|
||||
['overseas-business-purchases', '/overseas-business/purchases', 'platform:overseas-business:purchase:list'],
|
||||
['overseas-business-trucks', '/overseas-business/trucks', 'platform:overseas-business:truck:list'],
|
||||
['overseas-business-looseboards', '/overseas-business/looseboards', 'platform:overseas-business:looseboard:list'],
|
||||
|
||||
Reference in New Issue
Block a user