protected $routeMiddleware = [
// ...
'role' => SpatiePermissionMiddlewaresRoleMiddleware::class,
'permission' => SpatiePermissionMiddlewaresPermissionMiddleware::class,
'role_or_permission' => SpatiePermissionMiddlewaresRoleOrPermissionMiddleware::class,
];