When creating a new role ID in Nexus 3 leading and trailing spaces are not trimmed. So you can create roles that have whitespace preceding and trailing the role ID.
- Navigate to <your:server>/#admin/security/roles
- Create Role > Nexus Role
- Add an ID with leading or trailing spaces
Field to show an validation message when a Role ID has leading or trailing spaces
Role is able to be saved without out any challenge or failure