Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return 403 when admin deletes a deleted image
1. Returned a 403 Forbidden error when an admin user tries to delete a deleted image. 2. Added unit test coverage. Fixes LP: #1060944 Change-Id: I1a5c4ca18e2e70d8a614b3132bfcea1f56c5f59c
- Loading branch information
Showing
2 changed files
with
51 additions
and
0 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