From 1e5a90ebb0820c742ccfbd4ca996b01eacb7bf42 Mon Sep 17 00:00:00 2001
From: pkupczyk <pkupczyk>
Date: Tue, 4 Mar 2014 10:46:14 +0000
Subject: [PATCH] SP-1226 / BIS-677 : Data Set Size Filling Maintenance Task -
 add missing annotations

SVN: 30805
---
 .../cisd/openbis/generic/server/ServiceForDataStoreServer.java  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/ServiceForDataStoreServer.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/ServiceForDataStoreServer.java
index 68fd8ed8c6a..b8f12dd6c98 100644
--- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/ServiceForDataStoreServer.java
+++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/ServiceForDataStoreServer.java
@@ -1291,6 +1291,7 @@ public class ServiceForDataStoreServer extends AbstractCommonServer<IServiceForD
     }
 
     @Override
+    @RolesAllowed(RoleWithHierarchy.SPACE_ETL_SERVER)
     public List<SimpleDataSetInformationDTO> listPhysicalDataSetsWithUnknownSize(String sessionToken, String dataStoreCode)
     {
         final Session session = getSession(sessionToken);
@@ -1303,6 +1304,7 @@ public class ServiceForDataStoreServer extends AbstractCommonServer<IServiceForD
     }
 
     @Override
+    @RolesAllowed(RoleWithHierarchy.SPACE_ETL_SERVER)
     public void updatePhysicalDataSetsSize(String sessionToken, Map<String, Long> sizeMap)
     {
         assert sessionToken != null : "Unspecified session token.";
-- 
GitLab