Bug 617148

Summary: Hide Menu Subsys->Config changes from users without view configure rights
Product: [Other] RHQ Project Reporter: Heiko W. Rupp <hrupp>
Component: Core UIAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: low    
Version: 3.0.0CC: jshaughn, skondkar
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-08 22:36:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 585306    

Description Heiko W. Rupp 2010-07-22 10:40:18 UTC
If a user has no "show configuration" rights, the Subsystems->Configuration menu + tab
should be greyed out, same for tabs on the individual resource.

Comment 1 Charles Crouch 2010-07-22 13:29:07 UTC
This is something which should be addressed in the UI enhancements

Comment 5 Jay Shaughnessy 2011-02-14 17:29:37 UTC
If I understand this I think the problem is resolved. if not please supply repro steps.

Comment 6 Sunil Kondkar 2011-06-21 09:21:14 UTC
Tested on build 149 (Version: 4.1.0-SNAPSHOT Build Number: 04f721e)

Created a resource group of datasources, created a user.
Created a role without Configure Read/Write resource permissions.
Assigned the group of datasources and the user to the role.

Logged in as the user and navigated to 'Reports->Subsystems' and observed that the 'Configuration History' menu is not greyed out. User can click on the 'Configuration History' menu.

It does not display any config changes to the user.

Steps to reproduce:
1. Create a Compatible group of resources (Ex: RHQ Agent or datasources)
2. Create u user (testuser)
3. Create a role without Configure Read/Write resource permissions. (testrole)
4. While creating the role, assign the compatible group of RHQ Agents and the user 'testuser' to the role.
5. Log in as testuser.
6. Navigate to 'Reports->Subsystems'.
7. The 'Configuration History' menu is not greyed out. User can click on the 'Configuration History' menu.

Additional Notes:

For the user without Configure Read/Write resource permissions, the resource's configuration tab and the group configuration tab is greyed out. Also the resource/group context menu option 'Resource Configuration' is greyed out.