private function getOwnerFields(): array
    {
        if (! isset($this->capabilities['action'][Utils::getTypeOwner()])) {
            return [];
        }

        $result = [];
        // check user capabilities against action's owner capabilities
        foreach ($this->capabilities['action'][Utils::getTypeOwner()] as $capability) {
            if (in_array($capability->getName(), $this->capabilities['user'])) {
                // if user has owner capability for current action add appropriate conditions to where clause
                $result[$this->table->aliasField($capability->getField()) . ' IN'] = $this->user['id'];
            }
        }

        return $result;
    }