If you need to create a new role, for example "Manager", do the following:
INSERT INTO userroles VALUES (4, 'Manager', 'description', 'f');
The role has been created, next we need to add the necessary permissions to this role from the list of permissions.
INSERT INTO userrolepermissions(roleId, permissionId) VALUES (4, 115);
INSERT INTO userrolepermissions(roleId, permissionId) VALUES (4, 121);
....
INSERT INTO userrolepermissions(roleId, permissionId) VALUES (4, 108);
After the necessary permissions are added logout from the web panel and re-login.