aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-db
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2016-07-10 00:46:43 +0200
committerStas Vilchik <vilchiks@gmail.com>2016-07-12 10:16:53 +0200
commit4517fd6b3732457a17baed69319538691d6a2baf (patch)
tree4d62e9239c165ec486cc717ec4305d02d37b3320 /sonar-db
parentba6e7c6f5b312db4a00ca7136c3212af5c35e284 (diff)
downloadsonarqube-4517fd6b3732457a17baed69319538691d6a2baf.tar.gz
sonarqube-4517fd6b3732457a17baed69319538691d6a2baf.zip
SONAR-7838 WS api/permissions/groups returns group permissions
Diffstat (limited to 'sonar-db')
-rw-r--r--sonar-db/src/main/java/org/sonar/db/permission/PermissionQuery.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-db/src/main/java/org/sonar/db/permission/PermissionQuery.java b/sonar-db/src/main/java/org/sonar/db/permission/PermissionQuery.java
index a7f6a042376..c47fff65b9c 100644
--- a/sonar-db/src/main/java/org/sonar/db/permission/PermissionQuery.java
+++ b/sonar-db/src/main/java/org/sonar/db/permission/PermissionQuery.java
@@ -134,6 +134,7 @@ public class PermissionQuery {
}
public Builder setPermission(@Nullable String permission) {
+ this.withPermissionOnly = permission != null;
this.permission = permission;
return this;
}