aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2017-02-21 15:43:32 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2017-02-22 14:37:23 +0100
commit89f866cc16a9544f8e9cbbb4e0483be47b08a5e9 (patch)
tree2750f431a88eec30eaa8debfd379f3e0f5657306
parentc37884c9e56dc9793dd6cb761f22605f6e66fc07 (diff)
downloadsonarqube-89f866cc16a9544f8e9cbbb4e0483be47b08a5e9.tar.gz
sonarqube-89f866cc16a9544f8e9cbbb4e0483be47b08a5e9.zip
Deprecate GlobalPermissions
in favor of enum OrganizationPermission
-rw-r--r--server/sonar-db-dao/src/main/java/org/sonar/core/permission/GlobalPermissions.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-db-dao/src/main/java/org/sonar/core/permission/GlobalPermissions.java b/server/sonar-db-dao/src/main/java/org/sonar/core/permission/GlobalPermissions.java
index 8e14f02fc56..baedd050742 100644
--- a/server/sonar-db-dao/src/main/java/org/sonar/core/permission/GlobalPermissions.java
+++ b/server/sonar-db-dao/src/main/java/org/sonar/core/permission/GlobalPermissions.java
@@ -26,7 +26,9 @@ import java.util.List;
/**
* Holds the constants representing the various global permissions that can be assigned to users & groups
*
+ * @deprecated replaced by enum {@link org.sonar.db.permission.OrganizationPermission}
*/
+@Deprecated
public final class GlobalPermissions {
public static final String SYSTEM_ADMIN = "admin";