Re: [phpwslistings-dev] agent active flag
Brought to you by:
rizzo,
wendall911
From: <ad...@tu...> - 2003-03-19 17:50:22
|
> I know in phpws that the "Administrator" check box will give a user access > to whatever module. Adam this question is directed towards you, is it > possible or could it be possible to create a User Group or User that is > deity for a module? A group or user that could grant permission to any > user in the database for one module only? No, this is not possible with the current state of the user module [not my fault :)]. If you give a user permission to edit the permissions of other users, they will be able to edit the permissions on all modules. I would suggest not using a phpws user as an agent and just associate an agent with a phpws user account. This way you can accomplish the permissioning goals you have set down and if the admin of the website wants to allow public users to have accounts on the site for various reasons (personal house listings, remembered settings, etc) you don't want them to have "agent status" in the phpwslistings system. I can say more here but I will refrain for now to hear your thoughts on what I've written so far. As far as the shopping cart goes, it should be a separate module from phpwslistings that is flexible enough to allow it to hold any type of object (house, car, shirt, soda, etc). Basically each "object" would need a few required attributes and functions to integrate with the cart correctly, a name or label, a weight (to calculate shipping), a "small view" function and a "full view" function, and a price. I'm probably missing a few things there obviously but you get the idea. Just my 2 cents Adam -- Adam Morton Developer - Electronic Student Services http://phpwebsite.appstate.edu Founder - Appalachian Linux Users Group http://alug.appstate.edu |