Acl\Model\Table\PermissionsTable::getAcoKeys PHP Method

getAcoKeys() public method

Get the crud type keys
public getAcoKeys ( array $keys ) : array
$keys array Permission schema
return array permission keys
    public function getAcoKeys($keys)
    {
        $newKeys = [];
        foreach ($keys as $key) {
            if (!in_array($key, ['id', 'aro_id', 'aco_id'])) {
                $newKeys[] = $key;
            }
        }
        return $newKeys;
    }