Why always auto kick me out sonar-administrators group after me login in


(Michelle) #1

Template for a good bug report, formatted with Markdown:

  • versions used (SonarQube, Scanner, Plugin, and any relevant extension)
  • error observed (wrap logs/code around triple quote ``` for proper formatting)
  • steps to reproduce
  • potential workaround
    Add myself manually to the sonar-administrators group,but when I login in again ,I’ll be automatically removed,so I can’t watch the private project
    P.S.: use the #bug:fault sub-category if you’re hitting a specific crash/error , or the #bug:fp sub-category for rules-related behaviour

(G Ann Campbell) #2

Hi,

It sounds like you’re using delegated authentication with group mapping. When group mapping is turned on, all your local groups will be synched at every login with the groups in your source-of-truth. This means not just adding you to groups your provider says you’re in, but also removing you from groups it doesn’t say you’re in. You can get a little more detail from the docs.

 
Ann