Jetstream without steams - Will roles still be accessible?
Hello,
I have seen in the Jetstream doc that you can create teams. I only want my users to have internal roles setup upon registration.
If I do not install "Teams", will there still be some kind of role logic in Jetstream?
@jlrdw Fortify seems to be more for the email, password, registration verifications. But yes, for roles, it looks like I will have to go back to the old Spattie.
I have never understood why Laravel does not have its own Role default package. Why always Spattie which is a third party, any idea?
I have never understood why Laravel does not have its own Role default package.
It does, it has authentication and authorization. Spatie uses laravel authorization.
And there are 7 to 10 (lost count) of free videos by @jeffreyway on this, he even covers (free) how to handle roles.
@jlrdw I think you are referring to Gate and policies. I do not use them, I find it overkill. The reason I use Spattie instead is because of the simple role names and access via relations. I cannot find something similar in Laravel unless you build it.