Installer script possible sets up RDS incorrectly
Install Script
Summary
The install script seems to setup the RDS 'Roles' table with an incorrect type. roleId is set to an BIGINIT when i believe roleId is actually created as an UUID.
db.sql:

UserRolesServiceImpl.createUserRole:

Reproduce steps
Run the install script creating a fresh environment and see what the type of roleId is. You can see a failure if you attempt to create a new Role in the web application.
Expected Results
I'm assuming it should be a VARCHAR() but maybe I'm missing something.
Actual Results
roleId is set to a BIGINT
Thanks for letting us know. We will check this and get back. The issue seems to be with the incorrect table mapped. User role creation is a rarely used feature as PacBot has already had the required roles pre-configured.
Ya it comes with the readonly and admin role but we were also trying to create a role to see if we could limit it further. It looks like an role either has read or write permissions and that is it. We mainly tried to create a role because we wanted to see if we could then look at limiting that role to say a certain asset group.
Role based access to an asset group is already in our pipeline , we shall be releasing it in upcoming versions.
Role based access to an asset group is already in our pipeline , we shall be releasing it in upcoming versions.
Awesome that is really good to hear! As Anil pointed out above this bug isn't really blocking anything because of the two roles already created so its not a big deal but we just saw it in investigating of role based access. Thanks for the information!
The table has been updated as part 1.1 release and so closing it