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 | |
---|---|---|---|---|---|
networking-bgpvpn |
Fix Released
|
High
|
Thomas Morin |
Bug Description
BGPVPNPluginDb currently filters what can be done by a tenant with a USER_READABLE_
This shouldn't be needed and what is in policy.json should be enough and not re-filtered.
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.
Reviewed: https:/ /review. openstack. org/218359 /git.openstack. org/cgit/ openstack/ networking- bgpvpn/ commit/ ?id=8a70c9076a1 53e58b15cc34187 f042280899ae89
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8a70c9076a153e5 8b15cc34187f042 280899ae89
Author: Thomas Morin <email address hidden>
Date: Fri Aug 28 17:25:05 2015 +0200
API/DB should not duplicate the policy framework
This change removes the USER_READABLE_ ATTRIBUTES and USER_WRITABLE_ ATTRIBUTES,
and skips other checks/subcases that were applied depending on whether the
context was admin or not.
Change-Id: I4a64da35ccede4 5427bfe79e1bcdd 22ed14b401d
Closes-Bug: 1489918