allow pac owner to read pac
This commit is contained in:
parent
e5b2972ccb
commit
ce35a5e353
@ -69,7 +69,7 @@ public class PacService extends AbstractModule<PacVO> implements PacServiceLocal
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@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)
|
public List<PacVO> read(final RequestContext requestContext, final PacVO criteria)
|
||||||
throws UserException, TechnicalException {
|
throws UserException, TechnicalException {
|
||||||
final List<PacVO> emptyList = super.read(requestContext, criteria);
|
final List<PacVO> emptyList = super.read(requestContext, criteria);
|
||||||
|
Loading…
Reference in New Issue
Block a user