canArchive()
is not called before archiving versioned links
#291
Labels
canArchive()
is not called before archiving versioned links
#291
Note that this has been looked at from a security standpoint, and the CMS Squad has decided it does not constitute a security issue under our current security process.
LinkFieldController::linkDelete()
checkscanDelete()
, but for versioned records it doesn't checkcanArchive
. It does have version-aware logic to calldoArchive()
instead ofdelete()
, so it should also use the correct permission check.Acceptance criteria
canArchive()
permission method is calledcanDelete()
permission method is calledPRs
The text was updated successfully, but these errors were encountered: