diff options
Diffstat (limited to 'sonar-db')
-rw-r--r-- | sonar-db/src/main/java/org/sonar/core/permission/GlobalPermissions.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sonar-db/src/main/java/org/sonar/core/permission/GlobalPermissions.java b/sonar-db/src/main/java/org/sonar/core/permission/GlobalPermissions.java index 4325c9df896..aa153c83276 100644 --- a/sonar-db/src/main/java/org/sonar/core/permission/GlobalPermissions.java +++ b/sonar-db/src/main/java/org/sonar/core/permission/GlobalPermissions.java @@ -31,6 +31,7 @@ public final class GlobalPermissions { public static final String SYSTEM_ADMIN = "admin"; public static final String QUALITY_PROFILE_ADMIN = "profileadmin"; + public static final String QUALITY_GATE_ADMIN = "gateadmin"; public static final String DASHBOARD_SHARING = "shareDashboard"; public static final String SCAN_EXECUTION = "scan"; public static final String PREVIEW_EXECUTION = "dryRunScan"; @@ -39,7 +40,8 @@ public final class GlobalPermissions { /** * All the global permissions values, ordered from {@link #SYSTEM_ADMIN} to {@link #PROVISIONING}. */ - public static final List<String> ALL = ImmutableList.of(SYSTEM_ADMIN, QUALITY_PROFILE_ADMIN, DASHBOARD_SHARING, SCAN_EXECUTION, PREVIEW_EXECUTION, PROVISIONING); + public static final List<String> ALL = ImmutableList.of( + SYSTEM_ADMIN, QUALITY_PROFILE_ADMIN, QUALITY_GATE_ADMIN, DASHBOARD_SHARING, SCAN_EXECUTION, PREVIEW_EXECUTION, PROVISIONING); public static final String ALL_ON_ONE_LINE = Joiner.on(", ").join(GlobalPermissions.ALL); private GlobalPermissions() { |