jdamata / terraform-provider-sonarqube

Terraform provider for managing Sonarqube configuration
GNU General Public License v3.0
62 stars 50 forks source link

fix: allow login_name on global analysis token #238

Closed bdellegrazie closed 5 months ago

bdellegrazie commented 5 months ago

The API permits supplying a login_name for a GlobalAnalysisToken type too.

fixes: #223

freeranger commented 5 months ago

The API permits supplying a login_name for a GlobalAnalysisToken type too.

If I try this, on 10.2.1 at least, I get “A Global Analysis Token cannot be generated for another user” Same with a Project Token

So if we can’t generate them for another user, is there any actual value in being able to provide this parameter for either of these cases?

bdellegrazie commented 5 months ago

@freeranger I just tested this on 9.9 LTS which is what we use, you're absolutely correct unfortunately. Thanks for pointing this out. I'll close the request.