调整发货单权限判断
parent
8f2533d560
commit
f9c227a407
|
|
@ -27,7 +27,7 @@ class ShippingOrder extends RowAction
|
||||||
*/
|
*/
|
||||||
protected function authorize($user): bool
|
protected function authorize($user): bool
|
||||||
{
|
{
|
||||||
return $user->can('dcat.admin.articles.index');
|
return $user->can('dcat.admin.orders.export_shipping_orders');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue