У меня есть таблица ролей и разрешений, и я хочу проверить роль и разрешение пользователя в vue-cli с помощью Auth :: user () -> role или Auth :: user () -> pemission.
Passport::tokensCan([
'place-orders' => 'Place orders', -----> i want to check this dynamic
'check-status' => 'Check order status', -----> i want to check this dynamic
]);