Bug 1015014

Summary: [RHSC] Error message displayed when an unauthorized user tries to optimize a volume for virt store, needs improvement.
Product: Red Hat Gluster Storage Reporter: Shruti Sampat <ssampat>
Component: rhscAssignee: Ramesh N <rnachimu>
Status: CLOSED WONTFIX QA Contact: Shruti Sampat <ssampat>
Severity: medium Docs Contact:
Priority: low    
Version: 2.1CC: dpati, knarra, mmahoney, mmccune, rhs-bugs, sabose, sdharane
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-28 10:43:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
screenshot none

Description Shruti Sampat 2013-10-03 10:01:56 UTC
Created attachment 806999 [details]
screenshot

Description of problem:
-----------------------
When a user of RHSC, who is unauthorized to manipulate volumes, tries to optimize a volume for use as a virt store, the error dialog seen needs to be improved. 

Currently, the error seen looks like this -

Error while executing action:

Action 1:

    User is not authorized to perform this action.

Action 2:

    User is not authorized to perform this action.

Action 3:

    User is not authorized to perform this action.


The dialog should not show 3 actions as above. There should be a single error message which says that the user is not authorized to perform this action.

Version-Release number of selected component (if applicable):
Red Hat Storage Console Version: 2.1.1-0.0.1.master.el6ev 

How reproducible:
Always

Steps to Reproduce:
1. Login as a user who is not authorized to manipulate volumes.
2. Select a volume and click on Optimize for virt store.

Actual results:
The above described error message is seen.

Expected results:
Error message needs improvement.

Additional info:
Screenshot attached.

Comment 2 Dusmant 2013-11-12 17:04:28 UTC
Lets try to fix this in Corbett. This warning looks ugly.

Comment 3 Dusmant 2013-11-25 04:57:37 UTC
Fixing this warning is becoming more complex and the right way would be to add a new BLL command in the engine side. And that may take more time. 

Hence we need to remove this bug out of Corbett list.

Comment 5 Dusmant 2015-08-28 10:43:25 UTC
We are not planning to fix it. Hence closing this BZ. If you think, it's applicable for 3.x release and would have an impact on customer, pls. open up a new BZ with the appropriate version. Thanks, -Dusmant