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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.