Skip to content

Grant/revoke access to an investigation #222

Alejandro De Maria Antolinos requested to merge issue_222 into master

There rules are needed:

CD,,SELECT iu FROM InvestigationUser iu JOIN iu.investigation i JOIN i.investigationUsers iu2 JOIN iu2.user u WHERE u.name = :user and (iu2.role = 'Principal investigator' or iu2.role = 'Local contact')and u.name = :user
CRUD,admin, InvestigationUser  

image

This issue changes the API but it is compatible backwards. Two new endpoints have been added in order to add and remove investigation Users. image

Related to E-DataPortal#480 (closed)

Edited by Alejandro De Maria Antolinos

Merge request reports

Loading