Re: Creating a system with multiple types of users

2008-10-28 Thread itsnotvalid
Any reply yet? I also looked at the profile functionality from auth. Seems that I can only define a single profile for each user. What if I need to have different profiles for different users? On Oct 25, 1:25 am, itsnotvalid <[EMAIL PROTECTED]> wrote: > Is there any posts related to the permissio

Re: Creating a system with multiple types of users

2008-10-24 Thread itsnotvalid
Is there any posts related to the permission system? I didn't looked into that part yet, but seems interesting. Of course groups also seems to solve the problem as well. However I also saw @user_passes_test in the doc. What is the difference or use cases from @user_passes_test and @permission_req

Re: Creating a system with multiple types of users

2008-10-22 Thread felix
perhaps when you create-save the models (Providers, Customers etc.) it adds that User to the appropriate group. but I'm not sure I would use groups. That would make the most sense if there were people with overlapping roles. somebody who is Agent + Provider you could use the permissions system.

Re: Creating a system with multiple types of users

2008-10-21 Thread Mozey
Well, django user auth has groups implemented. "It handles user accounts, groups, permissions and cookie-based user sessions." (http://docs.djangoproject.com/en/dev/topics/auth/? from=olddocs) How can you effectively separate their views. Separate your apps based on their nature, not based on wh

Creating a system with multiple types of users

2008-10-21 Thread itsnotvalid
I am going to help some people making a website that has a few admins, a crowd of service providers (individuals) and customers. There could be agents who invites people to become service providers or customers as well. Looking at the user system provided by django, and as a new programmer to dja