User ID vs. Group ID |
6/9/2007 9:06:10 PM |
PHPRunner General questions | |
C
clare author
Hi, |
|
M
|
michaelmac 6/9/2007 |
Hi, I am havening problem to get the point of Group ID. For example, I have User table and two Groups 1 is User group and 2 is Admin Group. When I select User can edit only her data option, so how can the admin edit all her users? <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=18727&image=1&table=forumreplies' class='bbc_emoticon' alt=':angry:' /> Group ID when it comes to User ID has no meaning, isn't? <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=18727&image=2&table=forumreplies' class='bbc_emoticon' alt=':unsure:' /> Clare
|
M
|
michaelmac 6/9/2007 |
Hey Clare Ok. GroupID is what level you want to assign access levels to. UserID and password are just for LOGON. After that, I really never touch them except for when I build the User Profile section of my page. As I told you, use the billToID for the place responsible for all the bills. I mean if you say have a district that has 10 stores. The billToID would be for that district. Then the 10 stores would have their own unique shipToID.. like this password table User will have there own userID/password/billToID/shipToID/GroupID billToID shipToID 1000 --- 1000 --> the district office ===> set up as an ADMIN 1000 --- 1234 --> Store #1234 in district 1000 ===> set up Manager 1000 --- 2312 --> Store #2312 in district 1000 1000 --- 2567 --> Store #2567 in district 1000 : : : 2134 --- 3567 --> Store # 3567 in district 2134 2134 --- 3679 --> Store # 3679 in district 2134 Now to make this system work, you need to have ONLY UNIQUE Store numbers.. the rest will fall in to place I hope that helps Mike
|