cannot add the role ADMINISTRATOR using JBoss CLI when using RBAC

Solution Verified - Updated -

Issue

  • Cannot map groups to RBAC Administrator role via the CLI .
  • Cannot add the role ADMINISTRATOR using 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content