Why username is readonly on users page?

The option “Edit username” is ON however username is read only even if I have role “manage-users”.
The username is editable if I have role “view-realm” however I don’t see any dependencies between this role and username field.

May I apply some custom permissions to edit username without assigning role “view-realm”?