There is no any role name and length validation present while creating new role.
Steps to reproduce:
Login to zanata as admin.
Go to Admin - > manage roles.
and try to create the duplicate role.
Observe the behavior.
Also while creating role enter longs string and observe no any error message.