]> source.dussan.org Git - sonarqube.git/commit
SONAR-8192 set root flag in UserIdentityAuthenticator
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Mon, 17 Oct 2016 10:28:47 +0000 (12:28 +0200)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Wed, 19 Oct 2016 12:45:13 +0000 (14:45 +0200)
commit0043949d55cbb4da6ac6e52b62d863560b04f970
treef6d2aa8f862de22d56edf9eae835deca3acf8466
parentc1e059083d7a2f294caf8721257e81e24480c083
SONAR-8192 set root flag in UserIdentityAuthenticator

depending upon whether groups of the user have or not System Administer permision and whether, when it already exists, the user has user permission "System Administer"
server/sonar-server/src/main/java/org/sonar/server/authentication/UserIdentityAuthenticator.java
server/sonar-server/src/test/java/org/sonar/server/authentication/UserIdentityAuthenticatorTest.java
sonar-db/src/test/java/org/sonar/db/user/RootFlagAssertions.java
sonar-db/src/test/java/org/sonar/db/user/UserDbTester.java