]> source.dussan.org Git - sonarqube.git/commit
SONAR-8716 Add methods in UserSession with ComponentDto parameters.
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Sun, 29 Jan 2017 16:08:59 +0000 (17:08 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 1 Feb 2017 16:11:52 +0000 (17:11 +0100)
commitbd8c009b98b373b4916ea586becabf5ae989f64a
tree339e2aaa86e7a715b4c3c2ab1e8e1cda42c05542
parent54c908420bee1f6a0920e0b19bfcea194f2e3a7d
SONAR-8716 Add methods in UserSession with ComponentDto parameters.

The new methods hasComponentPermission(String,ComponentDto) and
checkComponentPermission(String,ComponentDto) will help to
drop the same methods with key/uuid String parameters.
server/sonar-ce/src/main/java/org/sonar/ce/user/CeUserSession.java
server/sonar-server/src/main/java/org/sonar/server/user/AbstractUserSession.java
server/sonar-server/src/main/java/org/sonar/server/user/DoPrivileged.java
server/sonar-server/src/main/java/org/sonar/server/user/ThreadLocalUserSession.java
server/sonar-server/src/main/java/org/sonar/server/user/UserSession.java
server/sonar-server/src/test/java/org/sonar/server/tester/AbstractMockUserSession.java
server/sonar-server/src/test/java/org/sonar/server/tester/UserSessionRule.java