aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-db
diff options
context:
space:
mode:
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;
}