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
Your issue is not related with this package. Perhaps you are not configured properly your Nova Gate in https://github.com/vyuldashev/nova-permission/issues/190
This could be an example about how to do it:
/** * Register the Nova gate. * * This gate determines who can access Nova in non-local environments. * * @return void */protectedfunctiongate(): void
{
Gate::define('viewNova', function ($user) {
return$user->hasRole('Super Admin') || $user->hasRole('Admin');
});
}
Hi
I use your module
I use Laravel 10.1.5 and Nova 4.22.1 When in .env APP_ENV=local all ok But when APP_ENV=production I see error 403 on my admin/login page
How I can fix it for production?
The text was updated successfully, but these errors were encountered: