]> source.dussan.org Git - sonarqube.git/commit
SONAR-8761 remove calls of WS to UserSession#isRoot()
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Thu, 9 Feb 2017 09:54:09 +0000 (10:54 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 10 Feb 2017 22:07:21 +0000 (23:07 +0100)
commit499254c065e062495c462de6c23a04af11fd383e
tree6060c7efd7eb2927847c518e89dba5be02c19f20
parentbdd26d9d931ae4250dde12fd1952837acb6d8180
SONAR-8761 remove calls of WS to UserSession#isRoot()

replace by UserSession#isSystemAdministrator()
it/it-tests/src/test/java/it/serverSystem/RestartTest.java
server/sonar-server/src/main/java/org/sonar/server/property/ws/IndexAction.java
server/sonar-server/src/main/java/org/sonar/server/ui/ws/SettingsAction.java
server/sonar-server/src/main/java/org/sonar/server/user/ws/UserJsonWriter.java
server/sonar-server/src/main/java/org/sonar/server/usertoken/ws/TokenPermissionsValidator.java
server/sonar-server/src/test/java/org/sonar/server/tester/UserSessionRule.java
server/sonar-server/src/test/java/org/sonar/server/usertoken/ws/GenerateActionTest.java
server/sonar-server/src/test/java/org/sonar/server/usertoken/ws/RevokeActionTest.java
server/sonar-server/src/test/java/org/sonar/server/usertoken/ws/SearchActionTest.java