Assigning user to role in custom application

Good Afternoon,

I have built a custom application (without ERPNext being installed as an app) on Bench v14.

I have created these roles for my new app:

What should be trivial is assigning a user to one of these roles:

I have cleared cache, restarted bench etc etc - but these roles don’t appear? I also switched out of developer mode on bench - to see if that would help.

Any help will be greatly appreciated.


Update: I moved my app out of the docker container and installed it via github into a fresh new bench install and the roles are now “visible”. Can continue to work now fortunately - can only assume there was some type of a bug in the bench version?

Regards Warren