unit tests needed to validate policy exceptions for all available actions
Bug #1262325 reported by
Tushar Kalra
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Wishlist
|
Rohan |
Bug Description
We need a suite of unit tests that iterate through each available rule in policy.json, converts them all into admin-only actions, and asserts if a valid policy exception is raised when those actions are performed by a non-admin.
Currently there are tests that validate if policy.enforce enforces fake admin only actions, but it doesn't test for the exceptions raised at the API level for all available actions in policy file.
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
tags: | added: low-hanging-fruit |
Changed in nova: | |
assignee: | nobody → Rohan (kanaderohan) |
Changed in nova: | |
milestone: | none → icehouse-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | icehouse-3 → 2014.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/76597
Review: https:/