security issue |
6/8/2007 7:12:15 AM |
PHPRunner General questions | |
C
clare author
Hi, |
|
C
|
clare author 6/8/2007 |
I think I failed to explain <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=18696&image=1&table=forumreplies' class='bbc_emoticon' alt=':(' /> |
M
|
michaelmac 6/9/2007 |
I think I failed to explain <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=18724&image=1&table=forumreplies' class='bbc_emoticon' alt=':(' /> Well I'll try again, I have some clients and each client has more than one branch and in each branch there are more than one user, I need a way to set up user privileges so that I have three levels: 1 Client Manager:Can view/edit/add any data related to her or her branches or her users. 2 Branch Manger: Can view/edit/add any data related to her branch or her users in that branch. 3 User: can view/edit her own data. My database has: a table for client information, a table for branch information, and table of users. All these users should be in one table with employees (four table), isn't? Any suggestion? Many thanks, Clare
|
C
|
clare author 6/9/2007 |
Hi Mike, |
M
|
michaelmac 6/9/2007 |
Hi Mike, Thank You, You are really nice <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=18729&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' /> I just want to say that I need client manger to edit all her users, and in same time user edits only her data. It sounds that the privilege is not on user ID (in this case as I already chose user edit her data only), and in same time to make 3 projects sounds a bit redundant because I have three levels, client manager, branch manger, and user. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=18729&image=2&table=forumreplies' class='bbc_emoticon' alt=':blink:' /> It also sounds a bit complicated for the tables which have no user ID but require user in somehow, don't tell me to add user ID to each table please. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=18729&image=3&table=forumreplies' class='bbc_emoticon' alt=':ph34r:' /> Clare
|