Skip to content
Snippets Groups Projects
Commit 919e3651 authored by cramakri's avatar cramakri
Browse files

LMS-1153 Use collection versions of data set access predicate.

SVN: 15712
parent 2329ec7a
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ import ch.systemsx.cisd.openbis.generic.shared.authorization.annotation.Authoriz
import ch.systemsx.cisd.openbis.generic.shared.authorization.annotation.ReturnValueFilter;
import ch.systemsx.cisd.openbis.generic.shared.authorization.annotation.RoleSet;
import ch.systemsx.cisd.openbis.generic.shared.authorization.annotation.RolesAllowed;
import ch.systemsx.cisd.openbis.generic.shared.authorization.predicate.DataSetCodePredicate;
import ch.systemsx.cisd.openbis.generic.shared.authorization.predicate.DataSetCodeCollectionPredicate;
import ch.systemsx.cisd.openbis.plugin.screening.shared.api.authorization.ScreenerPlateValidator;
import ch.systemsx.cisd.openbis.plugin.screening.shared.api.authorization.ScreenerReadonlyPlatePredicate;
import ch.systemsx.cisd.openbis.plugin.screening.shared.api.v1.dto.FeatureVectorDatasetReference;
......@@ -92,6 +92,7 @@ public interface IScreeningApiServer
*/
@Transactional(readOnly = true)
@RolesAllowed(RoleSet.OBSERVER)
List<IDatasetIdentifier> getDatasetIdentifiers(String sessionToken,
@AuthorizationGuard(guardClass = DataSetCodePredicate.class) List<String> datasetCodes);
List<IDatasetIdentifier> getDatasetIdentifiers(
String sessionToken,
@AuthorizationGuard(guardClass = DataSetCodeCollectionPredicate.class) List<String> datasetCodes);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment