which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
We are runninf SonarQube version 10.2.1
how is SonarQube deployed: zip, Docker, Helm
Helm. Deployed in Openshift
what are you trying to achieve
Trying to set a tag label on projects with /api/project_tags/set
what have you tried so far to achieve this
I have set the rights for the admin user on the permission template for the corresponding project.
The project gets his rights through the permission template.
The rights I gave the admin user is: Browse and Administrator.
But stil I get an Insufficient privileges error when submitting the api call to the project.
What am I missing?
Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!
I found the info mentioned.
I placed the user and admin rights on the permission template where the project referse to.
Does the adjustment in the permission template have no effect on existing projects?
And if not, how do I set the correct rights as admin for a project afterwards with an API call! I can’t find an API call that refers to this.
And is there a way to see what permission template a project is refered to?
Stil it doesn’t seem to work.
I placed the admin group permissions on the permission template and gave it an update_template, but stil the admin account gets an Insufficient privileges when I want to set a tag for a project which is related to this template.
Do I have to set the permissions on the projects it self?
How did you reapply the permission template ?
When i changed a permission template, i.e. configured with regex for project key com\.foo\.bar.+,
i open uber admin / project management, search for com.foo.bar and choose bulk apply for this permission template.
After that you may check for a single project via project settings if the permissions are set correctly.
I saw the diffrence
Thanks for your repy.
I wil change the api call.
I saw in the api description that you have to provide allso the projectID or projectName
So it must be a combination.