API code should not re-filter and only do what policy.json says

Bug #1489918 reported by Thomas Morin
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Thomas Morin

Bug Description

BGPVPNPluginDb currently filters what can be done by a tenant with a USER_READABLE_ATTRIBUTES and a USER_WRITABLE_ATTRIBUTES fields.

This shouldn't be needed and what is in policy.json should be enough and not re-filtered.

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

Reviewed: https://review.openstack.org/218359
Committed: https://git.openstack.org/cgit/openstack/networking-bgpvpn/commit/?id=8a70c9076a153e58b15cc34187f042280899ae89
Submitter: Jenkins
Branch: master

commit 8a70c9076a153e58b15cc34187f042280899ae89
Author: Thomas Morin <email address hidden>
Date: Fri Aug 28 17:25:05 2015 +0200

    API/DB should not duplicate the policy framework

    and skips other checks/subcases that were applied depending on whether the
    context was admin or not.

    Change-Id: I4a64da35ccede45427bfe79e1bcdd22ed14b401d
    Closes-Bug: 1489918

Changed in bgpvpn:
status: New → Fix Committed
Changed in bgpvpn:
importance: Undecided → High
assignee: nobody → Thomas Morin (tmmorin-orange)
milestone: none → liberty
Changed in bgpvpn:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.