From ce35a5e3534ed479387b07842d19548a1bfdefed Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Wed, 3 Aug 2016 19:38:32 +0200 Subject: [PATCH] allow pac owner to read pac --- services/src/main/java/de/hsadmin/service/pac/PacService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/src/main/java/de/hsadmin/service/pac/PacService.java b/services/src/main/java/de/hsadmin/service/pac/PacService.java index fa14032..9c32ec9 100644 --- a/services/src/main/java/de/hsadmin/service/pac/PacService.java +++ b/services/src/main/java/de/hsadmin/service/pac/PacService.java @@ -69,7 +69,7 @@ public class PacService extends AbstractModule implements PacServiceLocal } @Override - @RequiredScope({@ScopePolicy(Role.SYSTEM), @ScopePolicy(value=Role.HIVE, property="name")}) + @RequiredScope({@ScopePolicy(Role.SYSTEM), @ScopePolicy(value=Role.HIVE, property="name"), @ScopePolicy(value=Role.PACKET, property="name")}) public List read(final RequestContext requestContext, final PacVO criteria) throws UserException, TechnicalException { final List emptyList = super.read(requestContext, criteria);