aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src/main/java/org
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-07-12 11:05:21 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2012-07-12 11:05:44 +0200
commit89f816935a36957d570a0886a13ac218b58b40a6 (patch)
tree5f7ca81092d518d46c6942e4b7f3ece7a6a54070 /sonar-plugin-api/src/main/java/org
parentaf2d80e5d96936e316063341b8f8edacc2f54f9a (diff)
downloadsonarqube-89f816935a36957d570a0886a13ac218b58b40a6.tar.gz
sonarqube-89f816935a36957d570a0886a13ac218b58b40a6.zip
Deploy the component ResourcePermissions on server-side
Diffstat (limited to 'sonar-plugin-api/src/main/java/org')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/security/ResourcePermissions.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/security/ResourcePermissions.java b/sonar-plugin-api/src/main/java/org/sonar/api/security/ResourcePermissions.java
index e63d963455d..dcfc77861ea 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/security/ResourcePermissions.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/security/ResourcePermissions.java
@@ -20,6 +20,7 @@
package org.sonar.api.security;
import org.sonar.api.BatchComponent;
+import org.sonar.api.ServerComponent;
import org.sonar.api.resources.Resource;
/**
@@ -29,7 +30,7 @@ import org.sonar.api.resources.Resource;
*
* @since 3.2
*/
-public interface ResourcePermissions extends BatchComponent {
+public interface ResourcePermissions extends BatchComponent, ServerComponent {
boolean hasRoles(Resource resource);