← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1331443] [NEW] Neutron custom policy.json no longer working after Icehouse upgrade

 

Public bug reported:

We have some  custom policy rules implemented to have a shared network
that only people member of a specific group could see.

Basically a few rules like this:

"shared": "field:networks:shared=True and not field:networks:name=mil",
"mil": "field:networks:name=mil and role:network_mil",
"subnets:mil:read": "rule:regular_user",
"subnets:mil:write": "rule:admin_only",
"get_subnet": "rule:admin_or_owner or rule:shared or rule:mil or rule:pub",
"get_network": "rule:admin_or_owner or rule:shared or rule:external or rule:mil or rule:pub",
"create_network:mil": "rule:admin_only",

This no longer seem to work after a havana -> icehouse upgrade.
Everyone sees these networks now.

** 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/1331443

Title:
  Neutron custom policy.json no longer working after Icehouse upgrade

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  We have some  custom policy rules implemented to have a shared network
  that only people member of a specific group could see.

  Basically a few rules like this:

  "shared": "field:networks:shared=True and not field:networks:name=mil",
  "mil": "field:networks:name=mil and role:network_mil",
  "subnets:mil:read": "rule:regular_user",
  "subnets:mil:write": "rule:admin_only",
  "get_subnet": "rule:admin_or_owner or rule:shared or rule:mil or rule:pub",
  "get_network": "rule:admin_or_owner or rule:shared or rule:external or rule:mil or rule:pub",
  "create_network:mil": "rule:admin_only",

  This no longer seem to work after a havana -> icehouse upgrade.
  Everyone sees these networks now.

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


Follow ups

References