Error in the User roles permission 2.7.3 May 21, 2020, 12:40:16 PM There is an error in the user rolse and permission in version 2.7.3Application always try to change the fields in the table and makes it wrong.First - why all the time try to change it??I have Set up new table name for the Roles table, and Role Permitions as well new firld in the UserRole table - to let application generate it at all.Each time I try click "Okey" button on the form " Manage User Roles Permition Tables" application try run SQL:ALTER TABLE "sys_roles" MODIFY COLUMN 'ID' varchar(255) auto_increament;ALTER TABLE "sys_roles" MODIFY COLUMN 'ID' Integer(11);the other bug is that when I specify existing tables for the Roles and existing table for the Permissions then aplication try to change my RoldId field:ALTER TABLE "sys_users" MODIFY COLUMN 'RoleId' Integer(11) default ''; of course default cannot be empty string for the Integer fieldPlease fix that asap as its impossible to use that. Quote Selected
Re: Error in the User roles permission 2.7.3 Reply #1 – May 21, 2020, 07:44:31 PM @TomRutko this is not a bug. This is done every time you configure roles and permission to update the database with the new roles and permissions.NOTE: This is normal functioning when using a dynamic role. The way Static Role function is different from the Dynamic Role functions. Quote Selected
Re: Error in the User roles permission 2.7.3 Reply #2 – May 26, 2020, 07:48:51 AM Understand but this SQL will Never never works in MySQL:Cannot set auto_increament for varchar column:ALTER TABLE "sys_roles" MODIFY COLUMN 'ID' varchar(255) auto_increament;as welldefault for Integer column in MySQL cannot be empty string:ALTER TABLE "sys_users" MODIFY COLUMN 'RoleId' Integer(11) default ''; and those are the bug. Quote Selected
Re: Error in the User roles permission 2.7.3 Reply #3 – May 26, 2020, 08:40:54 PM @TomRutko can you provide a sample project with the error? Quote Selected