6
0
Fork 0

调整发货单权限判断

release
vine_liutk 2022-01-21 17:34:06 +08:00
parent 8f2533d560
commit f9c227a407
1 changed files with 1 additions and 1 deletions

View File

@ -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');
} }
/** /**