[Framework-Team] Login redirect in 3.0?

Raphael Ritz r.ritz at biologie.hu-berlin.de
Wed Dec 27 14:56:37 UTC 2006

Alexander Limi schrieb:
> Framework Team,
> Any objections on including this in 3.0?
> http://plone.org/products/plone/roadmap/84
> It's something we wanted in 2.1 back in the day, but since none of us 
> knew how GRUF worked or would interact with it, we ended up not doing it 
> to make sure.
> Having a simple URL for the login form is especially important for sites 
> that don't expose the login link (which is the use case for most 
> websites running Plone as opposed to the community sites).

having a script called 'login' redirect to the login_form
(so basically an alias) should be safe irrespective of the
underlying parts (GRUF/PAS/...).

The only potential issue I would pay attention to is to
make sure the "back-to-where-you-came-from" feature
works (think of a 'you need to log in in order to add
a comment' button somewhere deep in the site and after
loging in you need to find that again ...)

AFAICT all we need for this is to make sure we don't
redirect to '/login_form' but something like

   "%s/login_form" % context.absolute_url()


> --Alexander Limi · http://limi.net
> _______________________________________________
> Framework-Team mailing list
> Framework-Team at lists.plone.org
> http://lists.plone.org/mailman/listinfo/framework-team

More information about the Framework-Team mailing list