diff options
Diffstat (limited to 'sonar-plugin-api/src/main/java/org')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/security/ResourcePermissions.java | 3 |
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); |