← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1822105] [NEW] Policy rules related to "sub parameters" doesn't work properly

 

Public bug reported:

We have for example rules like:

"create_port:fixed_ips:subnet_id" in neutron's policy,

Ufortunatelly in https://github.com/openstack/neutron/blob/97376032b4c19ac6a479b524ec6a04460b79868b/neutron/policy.py#L192 check rule will always only have match like create_port:fixed_ip and will not include anything else.
So later it will not match this rule in enforcer.

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  Policy rules related to "sub parameters" doesn't work properly

Status in neutron:
  New

Bug description:
  We have for example rules like:

  "create_port:fixed_ips:subnet_id" in neutron's policy,

  Ufortunatelly in https://github.com/openstack/neutron/blob/97376032b4c19ac6a479b524ec6a04460b79868b/neutron/policy.py#L192 check rule will always only have match like create_port:fixed_ip and will not include anything else.
  So later it will not match this rule in enforcer.

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


Follow ups