erikn69

Results 151 comments of erikn69

Closes #2097 What about **Permission** model ? https://github.com/spatie/laravel-permission/blob/8a69aaddbf91810b0175b05a1acb9b3410bff68e/src/Models/Permission.php#L25 Could you test with facade `\Config::get('auth.defaults.guard')`, ([Config.php](https://laravel.com/api/9.x/Illuminate/Support/Facades/Config.html))

https://github.com/spatie/laravel-permission/issues/2097#issuecomment-1129600432 Ok , i did test your solution and it don't do anything, look at this example ```php class Kernel extends ConsoleKernel { public function __construct( Application $app, Dispatcher $events,...

>I think that we can delete that line without problems, I did run test without those lines and everything works Read again

`auditable_type` shows the model namespace, not the path of folders

#775 is an idea, @tmas It seems you are up to date with this problem. could you test it? ping @MortenDHansen

> I'm not sure if the updated config gets reset to its original values after the test runs I asked myself the same thing, so I did some tests and...

@MortenDHansen I do it by changing the config on the fly, I don't know if it's the best way, but it has worked for me for years without problems, example:...

https://laravel-auditing.com/guide/audit-transformation.html