| Summary: | Should display appropriate error message when "Global profile user" tries to delete HWPs | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] CloudForms Cloud Engine | Reporter: | Rehana <redakkan> | ||||
| Component: | aeolus-conductor | Assignee: | Scott Seago <sseago> | ||||
| Status: | CLOSED ERRATA | QA Contact: | wes hayutin <whayutin> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 1.0.0 | CC: | akarol, deltacloud-maint, dmacpher, juwu, morazi, rlandy, slinaber, ssachdev | ||||
| Target Milestone: | rc | Keywords: | Triaged | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: |
When a global profile user tried to delete Cloud Resource Profiles, the error message displayed was inadequate. This bug fix updates hardware_profiles_controller.rb to display the correct error message:
"Insufficient permissions to delete hardware profile"
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-12-04 15:01:46 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Rehana
2012-03-28 15:36:51 UTC
patch on list: [PATCH conductor] bug 807752: appropriate error message for permission denied on HWP deletion commit 95d037bffb0a0c394064a4d641afe3e0742fc796
Author: Scott Seago <sseago>
Date: Wed Sep 5 14:26:18 2012 -0400
bug 807752: appropriate error message for permission denied on HWP deletion
https://bugzilla.redhat.com/show_bug.cgi?id=807752
Signed-off-by: Jason Guiditta <jguiditt>
On 1.1 at b191d199cd9a886f7b68c9493991ba28d6b062dc
in build aeolus-conductor-0.13.3-1.el6cf Testing rpms:
>> rpm -qa |grep aeolus
aeolus-configure-2.8.6-1.el6cf.noarch
rubygem-aeolus-image-0.3.0-12.el6.noarch
rubygem-aeolus-cli-0.7.1-1.el6cf.noarch
aeolus-conductor-0.13.8-1.el6cf.noarch
aeolus-conductor-daemons-0.13.8-1.el6cf.noarch
aeolus-conductor-doc-0.13.8-1.el6cf.noarch
aeolus-all-0.13.8-1.el6cf.noarch
- Created a user with only Global HWP User Permissions
- Logged in to Conductor as that user
- Navigated to Administer-> Content -> Hardware
- Tried to delete the mock HWP set up
- Received the following error:
Errors
Insufficient permissions to delete hardware profile mockX86_64LARGE
See the attached screenshot
Marking this BZ as 'verified'.
Created attachment 615106 [details]
Insufficient permissions error
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2012-1516.html |