Hi
I created a new security group application in one of my scriptcase applications. It creates the admin user with a default administrator group and also adds all the applications to the security app sec_apps, I am using the security exactly the way scriptcase created it in my project. I did no custom coding. Just need a normal Scriptcase Groups security.
When I update the privileges in the sec_groups_apps I get the following error
Data before update
1 admin_add_edit_car_information Y Y Y Y N N
ERROR Close
Error updating database -
Data too long for column ‘priv_access’ at row 1
View SQL
UPDATE sec_groups_apps SET priv_access = ‘UL’, priv_insert = ‘UL’, priv_delete = ‘UL’, priv_update = ‘UL’, priv_export = ‘UL’, priv_print = ‘UL’ WHERE group_id = 1 and app_name = ‘admin_add_edit_car_information’
The ’UL’ should be ‘N’ and not ‘UL’. I increased the database size to 2 then it writes the ’UL’ into the database without error.
This is the data after I increase the size to varchar 2. Note no error BUT…
1 admin_add_edit_car_information UL UL UL UL UL UL
PLEASE NOTE - i did no coding in the security app. This only started after I re-installed scriptcase. I was on version 9.4 before and after installation. I did download the latest version from your server.
Has anyone else had the same happening to them?
Regards
Leorika