@PublicSpi
public interface ClauseSanitisingJqlFunction
An additional interface which can be implemented by JqlFunction
classes in order to indicate to the JqlOperandResolver
that their arguments
are able to be sanitised if necessary.
This was not added to the JqlFunction
interface as the default
behaviour is not to care about sanitising, and we didn't want to bloat the plugin point.
Modifier and Type | Method and Description |
---|---|
FunctionOperand |
sanitiseOperand(ApplicationUser searcher,
FunctionOperand operand)
Sanitise a function operand for the specified user, so that information is not leaked.
|
@Nonnull FunctionOperand sanitiseOperand(ApplicationUser searcher, @Nonnull FunctionOperand operand)
searcher
- the user performing the searchoperand
- the operand to sanitise; will only be sanitised if validCopyright © 2002-2023 Atlassian. All Rights Reserved.