Closed David-Grass-Feria closed 6 months ago
5.23
10.10
8.2.15
Predis
Mysql
protected function gate(): void { Gate::define('viewHorizon', function ($user) { return in_array($user->id, [ 1 ]); }); }
APP_ENV=production
Check Gate::authorize.
I think I just closed an issue for this. Please check out the links I shared on it and do not re-open this.
Horizon Version
5.23
Laravel Version
10.10
PHP Version
8.2.15
Redis Driver
Predis
Redis Version
Predis
Database Driver & Version
Mysql
Description
APP_ENV=production
Steps To Reproduce
Check Gate::authorize.