I'm building a site where some users will be registered, and allowed to
do lots of things, and some will be identified, and able to do fewer
things, but not required to register  (by which I mean not required to
create a password etc - They will be invited to the site by others, and
sent URLs by email which take them to pages relevant to them).
Unregistered users visiting the site will have the option to register
and will then get greater capabilities.

Has anyone done anything similar to this and have any recommendations
about how to structure it?   I have objects which will need to have
groups of both type of user - it would be nice if they could both be
handled in very similar ways.  I have been planning to use the standard
User class so I can take advantage of Django's authentication stuff,
giving registered users the permission to create new Users and coming
up with a way to allow login through the use of an encoded URL.

An alternative would be to subclass User (but I probably can't user the
Django auth stuff then) or to create my own class, which would have
some advantages, but I'd then have to do all the auth stuff myself.

Any suggestions welcomed!  Many thanks!

Reply via email to