This PR creates an extra object in the $session templating variable to iterate over the $session.client.extensions.ras_dbgap_permissions array and use each phs_id as a key in the created object with true as the value. This is being done for a CFDE use case to prevent looping over a potentially large array for every single generated template.
This PR also adds the lookup helper to our templating environment.
This PR creates an extra object in the
$session
templating variable to iterate over the$session.client.extensions.ras_dbgap_permissions
array and use eachphs_id
as a key in the created object withtrue
as the value. This is being done for a CFDE use case to prevent looping over a potentially large array for every single generated template.This PR also adds the
lookup
helper to our templating environment.