]
Kabir Khan updated WFCORE-2071:
-------------------------------
Fix Version/s: 3.0.0.Beta7
(was: 3.0.0.Beta6)
Properly handle unknown roles instead of throwing exception
-----------------------------------------------------------
Key: WFCORE-2071
URL:
https://issues.jboss.org/browse/WFCORE-2071
Project: WildFly Core
Issue Type: Bug
Components: Security
Reporter: Pedro Igor
Assignee: Darran Lofthouse
Fix For: 3.0.0.Beta7
When mapping roles directly from the identity:
{code}
<access-control provider="rbac" use-identity-roles="true"/>
{code}
If the identity has a role that is not known, a {{UnknowRoleException}} is thrown.
Ideally, we should just ignore unknown roles. Or is there any reason for this check ?