Red Hat Bugzilla – Bug 1010672
RBAC: Unable to access console as role scoped to host Master
Last modified: 2015-02-01 18:00:28 EST
Created attachment 801184 [details]
It is not possible to access console as user scoped to Master host (see attached domain topology). Roles scoped to Slave host can access the console without no issues. Roles scoped to Master are able to access console whenever the slave host is not running.
2013-09-21 15:39:58,615 [ERROR] Unknown error
Class$S129: Unexpected HTTP response: 500
"operation" => "read-children-resources",
"child-type" => "host",
"address" => 
Internal Server Error
"outcome" => "failed",
"rolled-back" => true
Yes, let's list this as a known issue with the feature for Beta.
@Pavel, adding you as need info to ensure you see this exception
A comment on the scope of this issue:
The specific console issue reported is a symptom of a somewhat larger problem that could affect other requests, which is why we pushed to fix it in ER3.
The general issue relates to certain operations that have the effect of internally executing multiple other operations and then aggregating their results. Examples:
The latter in essence does the same thing as the former. Both determine a list of resources of type "xyz", execute :read-resource against each, and aggregate the results into an overall response.
One of the interesting challenges with RBAC is handling these requests, where for some resources of type=xyz a user may have permissions, while not having such permissions for others.
We had solved this problem for cases where all the operations execute on the same domain process (e.g. /profile=full/subsystem=*), but the call path that calls that involved multiple hosts (e.g. /host=*) traverse resulted in that solution being bypassed. This bug is about fixing this problem.
ER3 has a fix for it, but that fix has problems (see https://bugzilla.redhat.com/show_bug.cgi?id=1011994). We now have a simpler fix in place for WildFly.