I am about to embark on a new learning project using PHP & MySQL. I need to create users and user groups with permissions for various tasks. i.e. the page will load and display elements (like in a menu) based on whether the user is a member of a group that has certain permissions for the element.
So far, members can only be a part of one group at a time (admins, users, etc.) I think giving users more than one group would be overkill.
My question is: what advice can you give me on organizing these permissions? I want to keep the list easily expandable with the ability to add more functions as necessary. This is the first time I've ever done this, so any input you can give is greatly appreciated.
thanks,
j
So far, members can only be a part of one group at a time (admins, users, etc.) I think giving users more than one group would be overkill.
My question is: what advice can you give me on organizing these permissions? I want to keep the list easily expandable with the ability to add more functions as necessary. This is the first time I've ever done this, so any input you can give is greatly appreciated.
thanks,
j