Skip to content

Commit

Permalink
HPCC-32198 Dali disable default file user option needs support in con…
Browse files Browse the repository at this point in the history
…fig files

Added support to ensure option is valid and copied to environment

Signed-Off-By: Kenneth Rowland [email protected]
  • Loading branch information
kenrowland committed Jul 2, 2024
1 parent 388e0dc commit c690426
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
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

0 comments on commit c690426

Please sign in to comment.