CNDB-18108 Add system property to disable UDFs and skip SecurityManager installation (#2452)#2486
Merged
Conversation
…er installation (#2452) Introduces the `-Dcassandra.disable_user_defined_functions` system property: * When set to `true`, UDF creation and execution are blocked, and ThreadAwareSecurityManager installation is skipped * Takes precedence over the YAML `enable_user_defined_functions` setting * Defaults to `false` to maintain backward compatibility * SecurityManager installation is skipped because it is only used for sandboxing UDFs
Checklist before you submit for review
|
❌ Build ds-cassandra-pr-gate/PR-2486 rejected by Butler3 regressions found Found 3 new test failuresNo known test failures found |
driftx
approved these changes
Jul 1, 2026
michaelsembwever
approved these changes
Jul 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduces the
-Dcassandra.disable_user_defined_functionssystem property:true, UDF creation and execution are blocked, and ThreadAwareSecurityManager installation is skippedenable_user_defined_functionssettingfalseto maintain backward compatibility