Trigger deprecation error if accessCheck is not specified.

Closes #2785449

Merge request reports

Loading