Comment 4 for bug 1046054

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

Reviewed: https://review.openstack.org/13022
Committed: http://github.com/openstack/nova/commit/29af2252a8bc97157a52fddca78b31224eb55dac
Submitter: Jenkins
Branch: master

commit 29af2252a8bc97157a52fddca78b31224eb55dac
Author: Eoghan Glynn <email address hidden>
Date: Fri Sep 14 11:15:29 2012 +0000

    All security groups not returned to admins by default.

    Fixes bug 1046054.

    Previously security groups relating to all tenants were returned
    when requested by an admin user.

    Now only those groups related to the current tenant are returned
    by default.

    To recover the old behaviour, the all_tenants search option may
    be specified via the native API with:

      /v2/<project_id>/os-security-groups?all_tenants=1

    or via the EC2 API with:

      Action=DescribeSecurityGroups&Filter.1.Name=all-tenants&Filter.1.Value.1=1

    Note that the latter is slightly ultra vires with respect to the
    EC2 API spec, in the sense that this filter is in addition to the
    standard set. Since we don't pay attention to many of these standard
    filters as yet, this stepping slightly off-piste is deemed worth it.

    Change-Id: I6157e408394d04096d21747d665e3b3aa6aa55de