Comment 3 for bug 1553433

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to congress (master)

Reviewed: https://review.openstack.org/289650
Committed: https://git.openstack.org/cgit/openstack/congress/commit/?id=34d6e58d15c80e1b419c325dcf13f3445a0c0e8b
Submitter: Jenkins
Branch: master

commit 34d6e58d15c80e1b419c325dcf13f3445a0c0e8b
Author: Tim Hinrichs <email address hidden>
Date: Mon Mar 7 17:35:50 2016 -0800

    Reject rules with column refs on non-datasources

    Previously, the policy engine would accept rules that had
    column references on tables in policies that were not
    datasource policies and disable them. Unfortunately,
    there was no way to enable those same rules because
    there is no way to set the schema other than for
    datasource policies.

    This change throws an exception when someone tries
    to insert a rule that has a column reference
    for a table within a non-datasource policy.

    Also, fixed bug where eliminate_column_references
    for Literal and Rule were not fully polymorphic.
    Literal and Rule expected different arguments, but
    the callers were providing the same arguments.

    Change-Id: Ia0f1a9980befb0189d5727dfcfacad376fab94fe
    Closes-Bug:#1553433