use of com.odysseusinc.arachne.portal.model.UserStudyGrouped in project ArachneCentralAPI by OHDSI.
the class ArachnePermissionEvaluator method addPermissions.
public boolean addPermissions(ArachneUser user, Page<UserStudyGrouped> userStudyLinks) {
for (UserStudyGrouped userStudyLink : userStudyLinks) {
Study study = userStudyLink.getStudy();
Set<ArachnePermission> allPermissions = getAllPermissions(study, user);
study.setPermissions(allPermissions);
}
return true;
}
Aggregations