UI: Role tests and tasks

- Role creation and update it with custom permissions
- added support to assign role to an existing user.