i have role and permission table and I want to check user role and permission in vue-cli with Auth::user()->role or 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
]);
enter code here
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire