Skip to content

Incorrect column list sent to SAC for checkCanSelectFromColumns #26466

@aaneja

Description

@aaneja

With this commit

checkAccessControlOnUtilizedColumnsOnly was updated to be true

However for UPDATE queries, we do NOT have an implementation of the UtilizedColumnsAnalyzer#UtilizedFieldsBuilderVisitor (coderef)

Because of this, the Set<String> columns to the checkCanSelectFromColumns is an empty set, and no columns are checked by access control

This will also impact DELETE queries

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    🆕 Unprioritized

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions