cakephp/docs — pull request #1115 by dodysw (2014-03-01 15:00:53+00:00)
Title: In my system, the post id from URL is a string.

But $this->field('id',..) returns integer ID. E.g. '6' === 6, thus isOwnedBy() always return false. Converting the parameter to integer fixes this.