User-Utils createUser does not check for a correct value of the roles argument

Steps to reproduce

The User-Utils createUser does not check for a correct value of the roles argument:

  • Sending non-JSON will result in a ParseException

  • Sending something different than an array with strings only will result in a ClassCastException

Status

Assignee

Lars Kiesow

Reporter

Lars Kiesow

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

None

Components

Fix versions

Affects versions

2.1.0

Priority

Major