I am new in Laravel How to do in laravel role with the following table
$table->id();
$table->string('name');
$table->string('email');
$table->timestamp('email_verified_at')->nullable();
$table->string('password');
$table->string('role');
$table->boolean('active');
$table->rememberToken();
$table->timestamps();
If user activity and the role is “admin”, should get access to Admin Dashboard page, else if a user is active and the role is “manager” should get access to the manager Dashboard page, if-else user is active and role “DEO”/data entry operator should get entry form else to redirect to the login page with error? Should we write in page.blad.php or in controller functions?