diff --git a/dsr_portal.module b/dsr_portal.module index 5c08023f140a358027c6e8b28f68df0d2299f1a4..b659236c47162cfca7b381307f77e93eafdfc674 100644 --- a/dsr_portal.module +++ b/dsr_portal.module @@ -140,6 +140,7 @@ function dsr_portal_entity_access(EntityInterface $entity, $operation, AccountIn if ($entity->getEntityTypeId() == 'shareholder') { switch ($operation) { case 'portal-view': + case 'template': if ($account->hasPermission('portal view own shareholder entities') && $entity->isLinkedAccount($account)) { return AccessResult::allowed(); }