Bug 617148 - Hide Menu Subsys->Config changes from users without view configure rights
Summary: Hide Menu Subsys->Config changes from users without view configure rights
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 3.0.0
Hardware: All
OS: All
low
medium vote
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: rhq4
TreeView+ depends on / blocked
 
Reported: 2010-07-22 10:40 UTC by Heiko W. Rupp
Modified: 2014-06-08 22:36 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-08 22:36:04 UTC


Attachments (Terms of Use)

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.


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