Do I just need to make a field for account type in my user account table? In a technical way, if(account type = admin) then the account would log as admin; otherwise, a user with less privileges.
AngelicOne
4
Posting Whiz
Recommended Answers
Jump to PostWithout know the rest I can't say for sure, but usually the way to go is to have a "Permissions" table.
With the permissions table you can add a row for each user which the permissions set that you require. So you could add a field for "Read Access", "Write …
Jump to PostIt's however you want. If you aren't being told what is available and you have free reign to do what you want, then you can go as far as you want to with it. You can have a field for "IsAdmin" in your user table, or you can have a …
Jump to PostWell you'd have a table with a user id, this would link it to your user table. You would then create fields for each permission you want to give. When you read that information back into the program, you decide what you want each permission field to represent in your …
Jump to PostShort Answer:
Yes, you need a row for every user account on your system.Long Answer:
Not necessarily. If you choose, you can assign a standard set of permissions to each user by using a permissions link table.
This link table contains the user id and a permissions id. …
All 15 Replies
Ketsuekiame
860
Master Poster
Featured Poster
AngelicOne
4
Posting Whiz
Ketsuekiame
860
Master Poster
Featured Poster
AngelicOne
4
Posting Whiz
Ketsuekiame
860
Master Poster
Featured Poster
AngelicOne
4
Posting Whiz
Ketsuekiame
860
Master Poster
Featured Poster
AngelicOne
4
Posting Whiz
AngelicOne
4
Posting Whiz
Ketsuekiame
860
Master Poster
Featured Poster
AngelicOne
commented:
good and clear explanation
+1
AngelicOne
4
Posting Whiz
Ketsuekiame
860
Master Poster
Featured Poster
AngelicOne
4
Posting Whiz
Ketsuekiame
860
Master Poster
Featured Poster
AngelicOne
4
Posting Whiz
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.