Gdpr Settings
General Data Protection Regulation (GDPR) is a regulation in the European Union law on data protection and privacy in the European Union and European Economic Area. This settings section mainly handles the rights related to the data of the company for the customer and the company. It has different sub-sections depending on the different rights offered under GDPR, these are **Right to Data Portability, Erasure, Informed, Access/Rectification, Removal Requests, Consent Settings,**and Consent Lists.
The General Settings for GDPR offers facilities to either apply GDPR to the system or not and then allows individuals to select further settings in each criteria depending on their GDPR settings applied or not to the overall system.

document.querySelectorAll(‘.portal-attachment-thumbnail-img’).forEach(function(img) {
img.addEventListener(‘error’, function () {
attachment_error_image(this);
});
});
const attachment_error_image = (attachment) => {
const parentElement = attachment.parentElement;
const defaultIcon = <span class="icon-file-empty"></span><span class="fw-attachment-ext">${escapeHtml(attachment.dataset.extension)}</span>;
parentElement.innerHTML = defaultIcon;
};