Bug 535270 (RHQ-1984) - Fix Operations tab (for single resource) UI when user doesn't have permission
Summary: Fix Operations tab (for single resource) UI when user doesn't have permission
Keywords:
Status: CLOSED NOTABUG
Alias: RHQ-1984
Product: RHQ Project
Classification: Other
Component: Operations
Version: 1.2
Hardware: All
OS: All
medium
medium vote
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Jeff Weiss
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On:
Blocks: rhq4
TreeView+ depends on / blocked
 
Reported: 2009-04-16 16:41 UTC by Jeff Weiss
Modified: 2014-11-09 22:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
rev3752
Last Closed: 2011-02-11 22:17:31 UTC


Attachments (Terms of Use)

Description Jeff Weiss 2009-04-16 16:41:00 UTC
The basic problem here is that for a single resource, the Operations tab when the user doesn't have permission, should disable the operations links and show a message that the user doesn't have permission.   This is already implemented for groups.

<jweiss> ghinkle: i'm also noticing a strange discrepancy between the operation tab of the group top level resource (AS Servers) and a single AS Server's Operation tab.  in the group, the tab shows "You do not have permissions to execute operations on this group " and the links are disabled.  the single resource has no such message, the links are enabled, and when you click them you get a message about not having permission.
 the former seems like the proper way to deny permission on the op tab.  why 2 implementations?
 wait, what i mean is not, 'why do the internals require 2 impls', but rather even if there are two internal impls, why do they look different in the UI
<ghinkle> jweiss: i haven't gotten around to fixing the resource version... just the group version
<jweiss> ghinkle: ok, is there a jira for it?  i'm not going to push for fixing in 2.2 but needs to be tracked
<ghinkle> not sure
<jweiss> i'll write one if i can't find it

Comment 1 Red Hat Bugzilla 2009-11-10 20:55:27 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1984


Comment 2 Ian Springer 2011-02-11 22:17:31 UTC
This was JSF. Authz is done for the coregui resource and group Operations tabs. Specifically, the various buttons - New, Delete, etc. - are disabled if the user does not have the CONTROL perm.


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