Skip to content

Rules added with RulesChecker:add() are applied to delete operations #18800

@DBnR1

Description

@DBnR1

Description

Prior to commit b6b75b0, rules added with RulesChecker:add() only applied to create and update operations. Now they apply to delete operations as well. Was this an unintended change since I don't see mention of it in 5.1 or 5.2 breaking changes?

CakePHP Version

5.2

PHP Version

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions