Hi Julien, resolved this problem. Able to force authenticate now.
I wanted to ask you as to how can I remove the see source code and browse permission for sonar-users?
Do we have any API syntax that can help us with the above
Hi Yash,
In order to remove some permissions from a group, you can use api/permissions/remove_group?groupName=SomeGroupName&permission=SomePermission on each permission.
Regards,
It’s giving invalid global permission codeviewer
400 bad request
GroupName=sonar-users&permission=codeviewer
You should have more detail in the error returned by the web service.
I’m suspecting a typo : it’s not GroupName
but groupName
.
Hi Julien,
I have typed groupName=sonar-users&permission=codeviewer
It is giving the same error 400 bad request
The web service should return a error message that will help you to understand what is wrong, could you please have a look ?
codeviewer is only allow for project permission, have a look at the api description