I am building a user administration panel for my file manager. Now, I have a user_admin object which basically runs queries on the user database to show all users, etc. Now, when I work with users, I would like to build another object called users, and each instance of this object will be a different user with methods such as delete(), add(), modify() etc.
My question is pretty basic... is this the proper place to use instances? If so, any advice on just how to go about this? Should I make a property for every privilege the user has ("create directory", "delete directory", "create file" etc.) or should I assign these values to an array? Thanks in advance and once again I am sorry for my crappy explanation of the problem.