← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1674517] Re: pecan missing custom tenant_id policy project_id matching

 

Reviewed:  https://review.openstack.org/447781
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=0193777e60216844019963f785cd28ca205c42a4
Submitter: Jenkins
Branch:    master

commit 0193777e60216844019963f785cd28ca205c42a4
Author: Anindita Das <anindita.das@xxxxxxxxx>
Date:   Tue Mar 21 03:37:25 2017 +0000

    [Pecan] Fix custom tenant_id project_id matching
    
    This patch fixes the missing custom tenant_id and project_id
    matching on policy_enforcement.py
    
    Change-Id: I278759f6b65cce7caa4f66fa694488b75f0459b6
    Closes-Bug: #1674517


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1674517

Title:
  pecan missing custom tenant_id policy project_id matching

Status in neutron:
  Fix Released

Bug description:
  The pecan code is missing these two chunks of code to support
  filtering project_id based on tenant_id policies:

  https://github.com/openstack/neutron/blob/cd947ac4d05a5301fb3bf704b0dd1ca39fd7e541/neutron/api/v2/base.py#L173-L179
  https://github.com/openstack/neutron/blob/cd947ac4d05a5301fb3bf704b0dd1ca39fd7e541/neutron/api/v2/base.py#L193-L197

  
  They need to be added in here:

  https://github.com/openstack/neutron/blob/cd947ac4d05a5301fb3bf704b0dd1ca39fd7e541/neutron/pecan_wsgi/hooks/policy_enforcement.py#L225

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1674517/+subscriptions


References