I was just getting started with this pacakge, needed a small help.
I'm trying to get direct abilities of a user, saw there'a method $user->getAbilities() but, this method includes abilities assigned via roles as well 🤔.
How do I get only abilities those are directly assigned to the user and not via roles.
Hi 👋,
I was just getting started with this pacakge, needed a small help. I'm trying to get direct abilities of a user, saw there'a method
$user->getAbilities()
but, this method includes abilities assigned via roles as well 🤔. How do I get only abilities those are directly assigned to the user and not via roles.Thank you 😊.