Bug 798278 - Buttons to be removed for non admin users
Summary: Buttons to be removed for non admin users
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-conductor
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
Assignee: Scott Seago
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-28 14:16 UTC by Rehana
Modified: 2013-09-17 18:22 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-17 18:22:40 UTC
Embargoed:


Attachments (Terms of Use)
Profile global user (2.52 MB, application/vnd.oasis.opendocument.text)
2012-02-28 14:16 UTC, Rehana
no flags Details
create provider (284.03 KB, image/png)
2012-02-28 15:31 UTC, Rehana
no flags Details

Description Rehana 2012-02-28 14:16:24 UTC
Created attachment 566317 [details]
Profile global user

Description of problem:

Below are the list of buttons to be removed for user with "Profile global user' role
Button to be removed for Profile Global user:

1.Edit Catalog (monitor-->catalog--> default--> edit) button should be removed 
2.Delete button from user section (of 'Non-admin" users) should be removed
3.Instead of showing a blank screen for (Cloud,comp. outline,"settings') ,its better to display "No sufficient privileges to view" etc
4.Delete button from (catalog, Application blueprint) should be removed
5.Delete button from hardware should be removed



Additional info:

Attached a Document with all the screen shot for above points(Profile global user.odt)

[root@intel-d3c69-01 ~]# rpm -qa | grep aeolus
aeolus-conductor-0.8.0-36.el6.noarch
aeolus-conductor-daemons-0.8.0-36.el6.noarch
rubygem-aeolus-image-0.3.0-10.el6.noarch
rubygem-aeolus-cli-0.3.0-10.el6.noarch
aeolus-all-0.8.0-36.el6.noarch
aeolus-conductor-doc-0.8.0-36.el6.noarch
aeolus-configure-2.5.0-15.el6.noarch

Comment 1 Rehana 2012-02-28 15:05:08 UTC
ii) Buttons to be removed for "Profile Administrator" role

1.Edit Catalog (monitor-->catalog--> default--> edit) button should be removed 
2.Delete button from user section (of 'Non-admin" users) should be removed
3.Delete button from (catalog, Application blueprint) should be removed
4.Instead of showing a blank screen for (Cloud,comp. outline,"settings') ,its
better to display "No sufficient privileges to view" etc

please refer the same screen shot document to know the buttons.

Comment 2 Rehana 2012-02-28 15:17:17 UTC
iii) Buttons to be removed for "Cluster Administrator" and "Application blueprint global user"

1.Edit Catalog (monitor-->catalog--> default--> edit) button should be removed 
2.Delete button from user section (of 'Non-admin" users) should be removed
3.Delete button from (catalog, Application blueprint) should be removed
4.Instead of showing a blank screen for (Cloud,comp. outline,"settings') ,its
better to display "No sufficient privileges to view" etc
5.Delete button from hardware should be removed

Also observed this bug 
https://bugzilla.redhat.com/show_bug.cgi?id=795666

please refer the same screen shot document to know the buttons.

Comment 3 Rehana 2012-02-28 15:24:13 UTC
iv)  Buttons to be removed for "Application blueprint administrator"


1.Edit Catalog (monitor-->catalog--> default--> edit) button should be removed 
2.Delete button from user section (of 'Non-admin" users) should be removed
3.Instead of showing a blank screen for (Cloud,comp. outline,"settings') ,its
better to display "No sufficient privileges to view" etc
4.Delete button from catalog should be removed
5.Delete button from hardware should be removed

Below bugs are also observed for this user

https://bugzilla.redhat.com/show_bug.cgi?id=795666
https://bugzilla.redhat.com/show_bug.cgi?id=798166

please refer the same screen shot document to know the buttons.

Comment 4 Rehana 2012-02-28 15:30:19 UTC
v)Buttons to be removed for "Provider Creator"

1.Edit Catalog (monitor-->catalog--> default--> edit) button should be removed 
2.Delete button from user section (of 'Non-admin" users) should be removed
3.Instead of showing a blank screen for (Cloud,comp. outline,"settings') ,its
better to display "No sufficient privileges to view" etc
4.Delete button from (catalog, Application blueprint) should be removed
5.Delete button from hardware should be removed
6.After revoking Provider creator role “+Create new cloud resource provider” link exists,but when clicked on it “No prvilieges to add” ,so should remove/disable this button(Create provider.png)

****Note******:

Sorry Forgot to mention this point on the first comment:

All these button should be disabled or removed from the UI as User is getting "You have insufficient privileges to perform the selected action" when clicking on these button.

Comment 5 Rehana 2012-02-28 15:31:09 UTC
Created attachment 566324 [details]
create provider

Comment 6 Scott Seago 2012-02-29 18:58:45 UTC
OK first of all we don't hide things based on "role assignment" -- we hide things based on a user not having specific rights to that action.

If you could re-state the problem like this:

 "user <...> is logged in with exactly these roles assigned <...>

 Currently, the following actions/links/text/etc are displayed which should be hidden:

 1...
 2...

That way we can determine what's being shown correctly and what's not. I'd rather deal with the exceptions now (i.e. what's broken), since I believe in the majority of cases we're hiding stuff properly.

Ideally this would be done with the fix for bug 788148 applied, since that fixes some known role problems around Clouds and Zones.


Note that you should do this

Comment 7 wes hayutin 2012-03-08 15:49:11 UTC
moving to 1.1

Comment 10 Scott Seago 2013-09-17 18:22:40 UTC
Cloud Engine/conductor 2.0 is not currently planned; this code is no longer maintained.


Note You need to log in before you can comment on or make changes to this bug.