This topic is locked

Need some help

3/31/2010 11:45:25 PM
PHPRunner General questions
D
Danx author

Okay, so I have a list of users in it's own table, each user has a name and password. Very simple. I've setup phprunner to use that for the login. Works fine. But when the user logs in I want them to only have access to their own table. The users are also created automatically, so everytime a new user signs up, they get their own table setup as well. So I don't want to have to go back in and run phprunner every time I get a new user just so their table shows up.
Any suggestions?
I hope I'm being clear about what I'm trying to do.

J
Jane 4/2/2010

Hi,
I recommend you to have a look at the User can see and edit their own records only security method:

http://xlinesoft.com/phprunner/docs/advanced_security_settings.htm

D
Danx author 4/2/2010

I looked into that as well. But seems like when it generates the php code it generates it for every table, but I add users daily, so I would hate to have to go back, generate new php codes for every user every day.
Every user has their own table. So when you get 500+ users it could become a major headache.

Sergey Kornilov admin 4/4/2010

If you add a new table for each user - you need to rebuild your project every time new user is added.
Alternatives that come to mind:

  1. Use Dynamic permissions
  2. Store all users data in the same table and apply 'User can see and edit their own records only' security mode.