// Agregar dentro del modelo User:
use App\Models\Concerns\HasAuthorizationHelpers;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;

use HasFactory, Notifiable, HasAuthorizationHelpers;

public function roles(): BelongsToMany
{
    return $this->belongsToMany(Role::class, 'role_user');
}
