You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\Silber\Bouncer\BouncerServiceProvider forces Bouncer to be resolved on each boot, which is redundant. It, in turn, needs to have Gate resolved. But since some or many use-cases of the application in whole don't even require this gate and user permissions in general, this resolve-chain is redundant in whole. Given Gate itself can possibly have huge configuration, this can lead to problems.
Perhaps, Bouncer could be "bound" to Gate using something like "callAfterResolving" or similar?
The text was updated successfully, but these errors were encountered:
\Silber\Bouncer\BouncerServiceProvider
forces Bouncer to be resolved on each boot, which is redundant. It, in turn, needs to haveGate
resolved. But since some or many use-cases of the application in whole don't even require this gate and user permissions in general, this resolve-chain is redundant in whole. GivenGate
itself can possibly have huge configuration, this can lead to problems.Perhaps, Bouncer could be "bound" to Gate using something like "callAfterResolving" or similar?
The text was updated successfully, but these errors were encountered: