Hiya,
The admin who configured our sonar cloud recently left, he gave me full account admin permissions before leaving, but I and others with the same access rights cannot access the full project level admin permissions.
According to this post there are additional admin level permissions on any given project that we need access too, but we have no way of know who, if anyone, has that admin role within the org.
How can I tell who has the admin permissions? Is it possible for a project to not have an Admin, if so what should I do?
Thanks
Do not share screenshots of logs â share the text itself (bonus points for being well-formatted)!
How many projects are we talking about? And do you know what plan youâre in? Whether itâs Team or Enterprise? Under the Administration menu item, is there a âProjects Managementâ option?
Itâs possible to be an Org admin and not have permissions to Browse or administer a project. However, as an admin, you should still be able to get a full list of projects, either on the Projects Management page or via the API.
One option would be to create a new Permission Template that gives e.g. you project admin and then apply that to all the projects. However, you should be extremely cautions with that (i.e. donât do it) because applying a template is not additive. You will wipe out all existing permissions and replace them with only whatâs in your template.
So instead of going the template route, itâs probably best to edit the permissions of each project individually (scripted with the APIs) to give yourself and / or your designees Browse and Administer on all the projects and go from there.
From there, youâll certainly be able to see every project and check out the existing permissions to make sure theyâre set appropriately.
We have 52 projects currently, and i suspect weâve gotten into a state where most of these projects have no project admin now. Iâll look into the API route first that definitely sounds safer.
I donât see a âProjectâs managementâ under my admin, and weâre using a team plan.
Hi Ann, I work in the same team as Daniel and have pretty much all permissions at organisation level, but I donât see âProjects managementâ under my Administration either.
One option would be to create a new Permission Template that gives e.g. you project admin and then apply that to all the projects.
I have tried creating a new permission template, but I couldnât find an option to âapply that to all the projectsâ.
So instead of going the template route, itâs probably best to edit the permissions of each project individually (scripted with the APIs)
Can you please clarify which API endpoint I should use for this? I have reviewed the API documentation here: SonarCloud, but I couldnât identify an endpoint that matches this use case.