Comments (16)
I think that issue with Sonar groups. I use Sonar 7 and LDAP. After logout users lose admin group. But if you give user admin access through Global Permissions tab it works. User should have the same permissions as admin group.
from sonar-crowd.
I notice the same behaviour. Please can someone take a look into that?
from sonar-crowd.
I faced same issue.
from sonar-crowd.
Same here. If I create the group sonar-administrators in jira/crowd and add all sonar admins to it, they will automatically get into the local sonar sonar-administrators group. The same is with other groups.
Workaround:
- Create user group in sonar
- Create same group in jira
- Add users in jira, instead of sonar
- On next login, the group in sonar will be populated
from sonar-crowd.
This did not work for me. Some users even lose all group membership in Sonar when they log in.
from sonar-crowd.
Getting the same issue with github logins. The work around doesn't apply it seems as I tested this with github "groups".
from sonar-crowd.
Issue is still occuring with SonarQube 7.0 and Crowd 2.12.
from sonar-crowd.
Yep, SonarQube 7.0, and users are removed from all groups, both system sonar-administrator group or other self-created groups. Only sonar-users remains.
from sonar-crowd.
Faced the same issue using Ldap too... I have added users in sonar-administrator group and once they login, the user is no more in this group.
from sonar-crowd.
We had a similar issue with the GitLab Auth plugin. As a workaround, we set the Default groups
property in the plugin configuration to empty. After that, we were able to keep the admin group for selected GitLab users.
- SonarQube version 7.1 (build 11001)
- GitLab Auth version 1.3.2
from sonar-crowd.
I'm not able the recreate the disappearance of the admin group on 7.2.1
or 6.7.5
.
@zok1995 are these groups added in sonar (and not in crowd)?
On one hand I get that losing all permissions set in sonar is annoying, but on the other hand having crowd as the source of truth for the user makes more sense for me.
from sonar-crowd.
@deepy i discovered the source of my error... the people who originally set this up misspelled the name of "sonar-administrators" as "sonar-administators".
from sonar-crowd.
I almost did that myself while setting up my crowd for testing
But thank you for following up! if someone else meets this then they got a good place to look.
Would it be OK to close this? When some time clears up I'm going to review+test and hopefully merge #4 which if working as described should provide a suitable alternative for those who don't want to sync groups.
from sonar-crowd.
Same here, problem still exists on:
- SonarQube version 7.6.0.21501
- GitLab Auth version 1.3.2
Only when we grant admin access via global permissions it works in other cases permissions lost.
from sonar-crowd.
Same issue with:
Sonarqube CE Version 7.7 (build 23042)
Freeipa 4.6.4
from sonar-crowd.
Do not put any group mapping properties at the LDAP Configuration section in sonar.properties file. That solved the issue for me.
from sonar-crowd.
Related Issues (20)
- Periodic synchronization with Crowd HOT 2
- Synchronization issue with specific group names
- Unable to authenticate against Crowd from Sonarqube HOT 3
- Sonarqube startup stop after trying to initializing the Crowd Plugin HOT 7
- java.lang.NoClassDefFoundError: javax/xml/bind/JAXB HOT 18
- User renamed in crowd. Can not log in to sonarqube HOT 1
- The newest release of the Crowd plugin (2.1.2) doesnβt work with SonarQube 7.9 LTS HOT 1
- Sonarqube in Docker HOT 3
- Sonarqube 7.9.1 is not starting up with sonar-crowd 2.1.3 HOT 1
- Create Crowd groups in Sonar automatically after login HOT 1
- Plugin does not start in SQ 8 HOT 6
- sonar-crowd with SSO HOT 1
- licensing question HOT 3
- JAVA 11 on SQ leads to Exeption HOT 4
- Problems with integration to internal crowd directories HOT 5
- compatible problem : SQ 7.9 with plugin 2.1.3 HOT 6
- Move from travis-ci to GitHub Actions
- Remove/change dependency on crowd-integration-client-rest
- Plugin doesn't work with SonarQube 8.9 LTS HOT 2
- Add more automated system tests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sonar-crowd.