[
https://issues.jboss.org/browse/WFLY-2099?page=com.atlassian.jira.plugin....
]
Darran Lofthouse commented on WFLY-2099:
----------------------------------------
The error message to be output will be: -
{code}
[standalone@localhost:9990 /]
./core-service=management/access=authorization/role-mapping=TestMapping/include=2:add(type=user,
name=testUser, realm=ManagementRealm)
{
"outcome" => "failed",
"failure-description" => "JBAS015287: Role 'TESTMAPPING'
already contains an INCLUDE for type=USER, name=testUser, realm=ManagementRealm.",
"rolled-back" => true
}
{code}
Cryptic error when adding duplicate include/exclude definitions to a
role.
--------------------------------------------------------------------------
Key: WFLY-2099
URL:
https://issues.jboss.org/browse/WFLY-2099
Project: WildFly
Issue Type: Bug
Components: Domain Management
Reporter: Heiko Braun
Assignee: Darran Lofthouse
Priority: Critical
Fix For: 8.0.0.Beta1
Attachments: rbac-setup.txt
When adding a role assigmment as 'administrator" i get this:
This request
{noformat}
{
"address" => [
("core-service" => "management"),
("access" => "authorization"),
("role-mapping" => "ADMINISTRATOR"),
("include" => "user-administrator@ManagementRealm")
],
"name" => "administrator",
"type" => "USER",
"realm" => "ManagementRealm",
"operation" => "add"
}
{noformat}
... leads to
{noformat}
[Host Controller] 18:12:36,723 ERROR [org.jboss.as.controller.management-operation]
(XNIO-1 task-9) JBAS014613: Operation ("add") failed - address: ([
[Host Controller] ("core-service" => "management"),
[Host Controller] ("access" => "authorization"),
[Host Controller] ("role-mapping" => "ADMINISTRATOR"),
[Host Controller] ("include" =>
"user-administrator@ManagementRealm")
[Host Controller] ]) - failure description: "JBAS015285: The runtime role mapping
configuration is inconsistent, the server must be restarted."
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira