Owner type access improvements (task #4572)
Owner type access improvements (task #4572)

Extended owner type access check, to include cases where the current
action does not provide an id (index action). In these cases a more
relaxed check is done.

QoboLtd/cakephp-roles-capabilities,QoboLtd/cakephp-roles-capabilities