Giter VIP home page Giter VIP logo

Comments (16)

zok1995 avatar zok1995 commented on September 6, 2024 4

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.

wysockip avatar wysockip commented on September 6, 2024

I notice the same behaviour. Please can someone take a look into that?

from sonar-crowd.

ynojima avatar ynojima commented on September 6, 2024

I faced same issue.

from sonar-crowd.

kwinsch avatar kwinsch commented on September 6, 2024

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:

  1. Create user group in sonar
  2. Create same group in jira
  3. Add users in jira, instead of sonar
  4. On next login, the group in sonar will be populated

from sonar-crowd.

vcmaxfield avatar vcmaxfield commented on September 6, 2024

This did not work for me. Some users even lose all group membership in Sonar when they log in.

from sonar-crowd.

mcginleyr1 avatar mcginleyr1 commented on September 6, 2024

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.

netropic avatar netropic commented on September 6, 2024

Issue is still occuring with SonarQube 7.0 and Crowd 2.12.

from sonar-crowd.

thanhma avatar thanhma commented on September 6, 2024

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.

ksanjay7 avatar ksanjay7 commented on September 6, 2024

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.

xJREB avatar xJREB commented on September 6, 2024

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.

deepy avatar deepy commented on September 6, 2024

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.

vcmaxfield avatar vcmaxfield commented on September 6, 2024

@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.

deepy avatar deepy commented on September 6, 2024

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.

piszczek avatar piszczek commented on September 6, 2024

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.

UglyAnimal avatar UglyAnimal commented on September 6, 2024

Same issue with:
Sonarqube CE Version 7.7 (build 23042)
Freeipa 4.6.4

from sonar-crowd.

azfar96 avatar azfar96 commented on September 6, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.