-
Bug
-
Resolution: Done
-
Major
-
2.9.6.Final
-
None
New Permission Mapping dialog has for permissions only textarea field expecting list of strings separated by line ends but it's a list of objects so even if user tries to enter string with object like notation
{"class-name" => "org.wildfly.security.auth.permission.LoginPermission"}
results is failure:
Unexpected HTTP response: 500
Request
{
"operation" => "list-add",
"address" => [
("subsystem" => "elytron"),
("simple-permission-mapper" => "anonymous-permission-mapper")
],
"name" => "permission-mappings",
"value" => {
"principals" => undefined,
"roles" => undefined,
"permissions" => ["{\"class-name\" => \"org.wildfly.security.auth.permission.LoginPermission\"}"]
}
}
Response
Internal Server Error
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0097: Wrong type for 'permissions'. Expected [EXPRESSION, OBJECT] but was STRING",
"rolled-back" => true
}
- clones
-
JBEAP-10802 Not possible to add permissions of permission-mappings of Elytron simple-permission-mapper
-
- Closed
-