Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow overwrite masked data to dataverse #137

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/buildsolution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,27 @@ jobs:
echo "ZipPath=$zipPath" >> $env:GITHUB_ENV
write-host "ZipPath: $ZipPath"
write-host "currentPath: $currentPath"
- name: Validate XML files
uses: action-pack/valid-xml@v1
with:
path: '\\mspfedyn_\\OrgDbOrgSettings\\Solution\\WebResources\\mspfedyn_\\OrgDbOrgSettings\\'
file-endings: '.xml'
- name: Validate XML files and check for unescaped characters
shell: pwsh
run: |
$xmlPath = 'mspfedyn_\OrgDbOrgSettings\Solution\WebResources\mspfedyn_\OrgDbOrgSettings\settings.xml'
try {
[System.Xml.XmlDocument]$xmlDoc = New-Object System.Xml.XmlDocument
$xmlDoc.Load($xmlPath)
Write-Host "XML is well-formed."
} catch {
Write-Host "Error: XML is not well-formed."
Write-Host $_.Exception.Message
if ($_.Exception.InnerException) {
Write-Host $_.Exception.InnerException.Message
}
exit 1
}
- name: apply updated version
run: |
#edit settings.xml build number
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,4 +214,16 @@
supportUrl="https://go.microsoft.com/fwlink/?linkid=2264254"
urlTitle="KB 2691237"
description="Manage entity list views with security roles, this allows views to be visible or hidden based on end users role." />
<orgSetting
minSupportedVersion="9.2.24113.0"
maxSupportedVersion="9.999.9999.9999"
name="AllowOverwriteMaskedDataToDatabase"
isOrganizationAttribute="false"
min=""
max=""
defaultValue="false"
settingType="Boolean"
supportUrl="https://go.microsoft.com/fwlink/?linkid=2264254"
urlTitle="KB 2691237"
description="&lt;b&gt;Warning:&lt;/b&gt; enabling &lt;b&gt;(true)&lt;b/&gt; this setting will allow fields which are masked using secured masking rules to be updated to values containing masked characters. This means the original unmasked data will be overwritten and masked characters will be stored in the database, and the original values will not be able to be recovered by Microsoft. &lt;b&gt;This should only be enabled if this implication is fully understood and acceptable.&lt;/b&gt; When this value is disabled &lt;b&gt;false&lt;/b&gt;, the system protects the unmasked data from being overwritten by failing the update request." />
</defaultOrgSettings>