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

HPCC-32198 Dali disable default file user option needs support in config files #18848

Merged
merged 1 commit into from
Jul 11, 2024
Merged
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
4 changes: 4 additions & 0 deletions helm/hpcc/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1087,6 +1087,10 @@
"type": "boolean",
"description": "Only return iterated logical file metadata for files that user has scope permission to access"
},
"disableDefaultUser": {
"type": "boolean",
"description": "Disable deprecated files default user"
},
"useLegacyDefaultFileScopePermissionCache": {
"type": "boolean",
"description": "Use legacy default filescope permissions that cached value for first user"
Expand Down
3 changes: 3 additions & 0 deletions initfiles/componentfiles/configxml/dali.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,9 @@
<xsl:attribute name="useLegacyDefaultFileScopePermissionCache">
<xsl:value-of select="/Environment/Software/LDAPServerProcess[@name=$ldapServerName]/@useLegacyDefaultFileScopePermissionCache"/>
</xsl:attribute>
<xsl:attribute name="disableDefaultUser">
<xsl:value-of select="/Environment/Software/LDAPServerProcess[@name=$ldapServerName]/@disableDefaultUser"/>
</xsl:attribute>
<xsl:variable name="ldapServerNode" select="/Environment/Software/LDAPServerProcess[@name=$ldapServerName]"/>
<xsl:if test="not($ldapServerNode)">
<xsl:message terminate="yes">
Expand Down
Loading