I am trying to prove user roles can be used to easily permint functionality by assignment under the security option.
Database olny authentication (No failover)
-Only modified the default authentication table by adding UserId
-I prepopulated a few entries to use
This appeared to cause a little problem with logging in due to the USER_ROLE_MAPPING table.
-Initially it only had two columns UserId and Rolename where I assume UserId would be mapped between the USERS and USER_ROLE_MAPPING table.
-With these pre-built table Ignition complained
[color=#FF00FF]GatewayException: Error creating authentication profile.
caused by Exception: SQL exception during authentication
Ignition v7.4.1 (b906)
Java: Sun Microsystems Inc. 1.6.0_24[/color]
-This was worked around by adding the column Username to USER_ROLE_MAPPING and filling in accordingly
See Image for tables
-The project sees all three roles and I can map accordingly but when I log in using any account, the Window or control item never becomes enabled as if the roll is not recognized with the user account
-Under the System Tags, RolesString is empty
-I have also tried adding required roles under the configuration properties without any lunck
Any help is appreciated