CREATE TABLE `Users` ( `UserID` INT( 11 ) NOT NULL AUTO_INCREMENT , `UserName` VARCHAR( 32 ) NOT NULL , `Password` VARCHAR( 32 ) NOT NULL , `Role` ENUM('READ ONLY','NO ACCESS','ADMIN') DEFAULT 'READ ONLY', PRIMARY KEY ( `UserID` ) , UNIQUE (`UserName`))
I then modified my conf.ini file ->
[_auth]users_table = Usersusername_column = UserNamepassword_column = Password
I then added your ApplicationDelegate.php example to my /dataface/conf directory and added your example users to my users table ->
INSERT INTO `Users` (`UserName`,`Password`,`Role`) VALUES ('readOnlyUser','password','READ ONLY'), ('adminUser','password','ADMIN')
Now, my login works fine. However, when I bring up the application I can access the various records and add/edit without loggin in. I should be getting the login prompt prior to seeing any tables/information.
Is there another step I am missing?
TIA,
Steve