← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1829387] [NEW] no way for non admin users to get networks

 

Public bug reported:

issue similar to this -> https://bugs.launchpad.net/nova/+bug/1737050

we have read_only role defined in keystone, it can get all projects,
instances, even network agents, but can't filter networks for project

example
rule:
 "ro_admin": "role:ro_admin"
policy:
 "get_network": "rule:admin_or_owner or rule:shared or rule:external or rule:context_is_advsvc or rule:ro_admin", -> doesn't work, returns empty response
 "get_agent": "rule:admin_only or rule:ro_admin", -> works as expected

environment:
  stable/stein

versions:
  neutron 14.0.1
  keystone 15.0.0

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

Title:
  no way for non admin users to get networks

Status in neutron:
  New

Bug description:
  issue similar to this -> https://bugs.launchpad.net/nova/+bug/1737050

  we have read_only role defined in keystone, it can get all projects,
  instances, even network agents, but can't filter networks for project

  example
  rule:
   "ro_admin": "role:ro_admin"
  policy:
   "get_network": "rule:admin_or_owner or rule:shared or rule:external or rule:context_is_advsvc or rule:ro_admin", -> doesn't work, returns empty response
   "get_agent": "rule:admin_only or rule:ro_admin", -> works as expected

  environment:
    stable/stein

  versions:
    neutron 14.0.1
    keystone 15.0.0

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


Follow ups