aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src/main/java/org/sonar/api/security/ResourcePermissions.java
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-plugin-api/src/main/java/org/sonar/api/security/ResourcePermissions.java')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/security/ResourcePermissions.java8
1 files changed, 5 insertions, 3 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 ab062823987..54d8c44195e 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
@@ -19,9 +19,9 @@
*/
package org.sonar.api.security;
-import org.sonar.api.ServerComponent;
+import org.sonar.api.BatchSide;
+import org.sonar.api.ServerSide;
import org.sonar.api.resources.Resource;
-import org.sonar.api.task.TaskComponent;
/**
* Grant access to newly created projects.
@@ -30,7 +30,9 @@ import org.sonar.api.task.TaskComponent;
*
* @since 3.2
*/
-public interface ResourcePermissions extends TaskComponent, ServerComponent {
+@BatchSide
+@ServerSide
+public interface ResourcePermissions {
/**
* Limitation - the resource id is used instead of logical key.