Bug 796437
Summary: | Users with super user role cannot view other users | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | John Sanda <jsanda> |
Component: | Core Server | Assignee: | RHQ Project Maintainer <rhq-maint> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.3 | CC: | ccrouch, hrupp, jkandasa |
Target Milestone: | --- | ||
Target Release: | RHQ 4.3.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-08-31 10:15:45 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: | 782579, 786159 |
Description
John Sanda
2012-02-22 21:35:01 UTC
It appears that this may be related to bug 786159. CCing Ian Springer so he can take a look at this. Fixed in master: http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=ffad3bb We now make sure superusers, or users w/ MANAGE_SECURITY, can view other users, even if they don't have VIEW_USERS. QA Steps ======== 1) Verify that rhqadmin can view all other users. 2) Verify that another user added to the Superuser role can view all users. 3) Create a role that has MANAGE_SECURITY, but does *not* have VIEW_USERS. Add a user to that role. Verify that user can view all other users. 4) Create a role that has VIEW_USERS, but does *not* have MANAGE_SECURITY. Add a user to that role. Verify that user can view all other users. 5) Create a role with no permissions. Add a user to that role. Verify that user can *not* view any other users. 6) Create a user with no roles. Verify that user can *not* view any other users. Verified on the Build: Version: 4.4.0-SNAPSHOT Build Number: 5ffafd2 GWT Version: 2.4.0 SmartGWT Version: 3.0 OS: RHEL 6.1 X86_64 Browser: Firefox ESR 10.0.3 Followed the steps on Comment 3. Unable to execute the step #3, because "View Users permission cannot be deselected, unless the Manage Security permission, which implies all other permissions, is deselected first." Bulk close of old bugs in VERIFIED state. |