When a user requests access to samples in a project group, we need to run the following in the Rails console:
pg = ProjectGroup.find_by_name 'X' user = User.find_by_email 'xx' pg.grant_projects_access_to(user)
When a user requests access to samples in a project group, we need to run the following in the Rails console:
pg = ProjectGroup.find_by_name 'X' user = User.find_by_email 'xx' pg.grant_projects_access_to(user)