Bug 1040928 - User with default permissions sees his assigned resources as DOWN
Summary: User with default permissions sees his assigned resources as DOWN
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Core Server, UI, Resource Grouping
Version: JON 3.2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: JON 3.2.0
Assignee: Jirka Kremser
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: 1012435
TreeView+ depends on / blocked
 
Reported: 2013-12-12 10:56 UTC by Filip Brychta
Modified: 2014-01-02 20:37 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-02 20:37:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Filip Brychta 2013-12-12 10:56:45 UTC
Description of problem:
$Summary

Version-Release number of selected component (if applicable):
Version :	
3.2.0.GA
Build Number :	
7b00246:6d13523

How reproducible:
Always

Steps to Reproduce:
1. Create a Compatible Group containing all platforms
2. Create a role with default permissions and previously created group as an Assigned Resource Group
3. Create a user with previous role assigned
4. Log in as the user created in previous step
5. Navigate to some platform resource

Actual results:
The platform resource is available for ~15 s and then it is show as DOWN. When you refresh the page (F5) it is available again for ~15 s. Availability on Monitoring tab is correct and shows the resource as UP all the time. There are NO errors neither in the agent nor server logs. So the only problem seems to be the incorrect availability icon (availability_red_24.png)

Expected results:
The platform resource is shown as UP (availability_green_24.png)

Comment 2 Jirka Kremser 2013-12-12 15:54:15 UTC
branch:  release/jon3.2.x
link:    http://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=734da85cf
time:    2013-12-12 16:51:50 +0100
commit:  734da85cf753c74045ea91c27713ceccefe1a005
author:  Jirka Kremser - jkremser
message: [BZ 1040928] - User with default permissions sees his assigned resources
         as DOWN - using the subjectManager.getOverlord() instead of the
         actual subject, because the live resource availability should
         not require the MANAGE_SETTINGS permission. (cherry picked from
         commit 60d6b811fd4e2d56f2f591dbc77d4d592fdfab5b)

Comment 3 Simeon Pinder 2013-12-12 18:49:18 UTC
Moving this to ON_QA as there is a new brew build available to test with:
https://brewweb.devel.redhat.com//buildinfo?buildID=318676

Comment 4 Filip Brychta 2013-12-13 07:33:58 UTC
Verified on
Version :	
3.2.0.GA
Build Number :	
dcb8b6f:734bd56


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