Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch adds policy checks in the images controller for all actions that need to be enforced. It also fixed an issue with unit tests where the v1 unitests were testing less than they should be. This was due to the default policy being overridden in the test and causing a forbidden to be raised whenever policys were changed, regardless of the policy rule added. Fixes bug 1036846 Change-Id: Ib351d8c1e13164d02b02685c808b30045f7850ea
- Loading branch information
Showing
3 changed files
with
122 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters