allow pac owner to read pac

This commit is contained in:
Peter Hormanns 2016-08-03 19:38:32 +02:00
parent e5b2972ccb
commit ce35a5e353

View File

@ -69,7 +69,7 @@ public class PacService extends AbstractModule<PacVO> 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<PacVO> read(final RequestContext requestContext, final PacVO criteria)
throws UserException, TechnicalException {
final List<PacVO> emptyList = super.read(requestContext, criteria);