Bug 1008087

Summary: RBAC: Error on Deployment page when logged in as user with scoped role
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Jakub Cechacek <jcechace>
Component: Web ConsoleAssignee: Heiko Braun <hbraun>
Status: CLOSED CURRENTRELEASE QA Contact: Jakub Cechacek <jcechace>
Severity: urgent Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.2.0CC: brian.stansberry, hpehl, jdoyle, jkudrnac, myarboro
Target Milestone: ER3   
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-15 16:21:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jakub Cechacek 2013-09-14 15:28:59 UTC
#domain-deployments page throws an Error, consequently deployments are not listed.

Request
{
    "address" => [],
    "operation" => "composite",
    "steps" => [
        {
            "address" => [],
            "operation" => "read-children-resources",
            "child-type" => "deployment"
        },
        {
            "operation" => "read-children-resources",
            "child-type" => "server-group"
        },
        {
            "address" => [
                ("server-group" => "*"),
                ("deployment" => "*")
            ],
            "operation" => "read-resource"
        }
    ]
}

Response

Internal Server Error
{
    "outcome" => "failed",
    "result" => {
        "step-1" => {
            "outcome" => "failed",
            "rolled-back" => true
        },
        "step-2" => {
            "outcome" => "failed",
            "rolled-back" => true
        },
        "step-3" => {
            "outcome" => "failed",
            "result" => [],
            "rolled-back" => true
        }
    },
    "failure-description" => {"domain-failure-description" => "JBAS014654: Composite operation was rolled back"},
    "rolled-back" => true
}

Comment 3 Jakub Cechacek 2013-09-30 09:04:12 UTC
verified 6.2.0.ER3

Comment 7 JBoss JIRA Server 2013-10-09 06:54:22 UTC
Heiko Braun <ike.braun> updated the status of jira HAL-197 to Resolved