cannot add the role ADMINISTRATOR using JBoss CLI when using RBAC
Issue
- Cannot map groups to RBAC Administrator role via the CLI .
- Cannot add the role
ADMINISTRATORusing JBoss CLI when using RBAC
[standalone@localhost:9999 /] /core-service=management/access=authorization/role-mapping=ADMINISTRATOR/include=Administr
ator:add(name=JBossAdmin, type=GROUP)
{
"outcome" => "failed",
"failure-description" => "JBAS014766: Resource [
(\"core-service\" => \"management\"),
(\"access\" => \"authorization\"),
(\"role-mapping\" => \"ADMINISTRATOR\")
] does not exist; a resource at address [
(\"core-service\" => \"management\"),
(\"access\" => \"authorization\"),
(\"role-mapping\" => \"ADMINISTRATOR\"),
(\"include\" => \"Administrator\")
] cannot be created until all ancestor resources have been added",
"rolled-back" => true
}
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.