Closed toskrip closed 1 week ago
After reviewing the code I noticed that UserAccountDAO.findStudyByUser
gives different answer for the same user when called from web (correct) compared to when called from ws (missing rights on study site).
Did some refactoring to cleanup the code a bit and at the end it turned out that terms.properties
in ws are not properly synced with web. Causing issue specifically for monitor role.
Description: Noticed that for monitor users the SOAP call for listing all studies does not return child study when there is no parent access to the study.
Requirements: User with enabled SOAP and monitor rights for site without permission for parent study.
Steps to follow:
Expected result: Parent study listed in studies (correct even without extra parent study permission) and study sites with access listed in sites.
Actual result: Only parent study listed in studies and study sites not listed at all.