This topic is locked

usernames - table is empty ?

1/27/2007 2:41:24 PM
PHPRunner General questions
P
pom author

So i created a test database to get a feel for how the program works.
I went ahead and created 3 tables (users, table1, table2) and then made some group permissions as follows:
admin=see all

groupa=see table1 only

grooupb= see table2 only
built and uploaded, problen is the users table is blank. I cant see anywhere in phprunner to add a default username/password so i cant log anyone in at the login page ?
**update a username has appeared in 'advanced security settings' aftet the second upload allowing me to assign a default admin user. No idea how it got there.
Group permissions still dont work though. I have added a user (the 'add' new record in Step 5 on users table doesnt stay ticked for some reason) and gave him the group permission 'groupa' so he should he able to see table1 only. i log in as this user and see no tables at all. So group permissions doesnt appear to work.
any help appreciated.
pom

kujox 1/28/2007

I always use phpmyadmin for entering a default user, you can set the group level this way as well
Have you specified a group id field in the tables you have created?
If not then this could be your problem but without seeing the project it's a little hard to say what the problem is.

J
Jane 1/29/2007

Pom,
to add new users use register page. Also you can add default user group on the User group permissions dialog for all registered, but not approved users.
If you have difficulties to set up security settings please have a look at the "How to use security settings" flash tutorial:

http://www.xlinesoft.com/phprunner/php-database.htm