Or we should figure out a scheme to allow for setting that on other
backends. Could check an attribute on the backend. Maybe assume that we can
set that info and have a flag for turning it off, which LDAP, NIS, etc. can
do.

Christian

-- 
Christian Hammond - [email protected]
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Mon, Feb 22, 2010 at 4:39 PM, Stodge <[email protected]> wrote:

> Thanks. So I would need to write a custom backend/middleware instead?
>
> On Feb 22, 3:20 pm, Stephen Gallagher <[email protected]>
> wrote:
> > On 02/22/2010 03:10 PM, Stodge wrote:> I'm using the remote user
> middleware/backend to support basic http
> > > authentication:
> >
> > > 'django.contrib.auth.middleware.RemoteUserMiddleware',
> >
> > > and it seems to work nicely with Review Board. Apache forces a user to
> > > login and then this middleware/backend automatically creates the user
> > > in Django. The user is then "interrupted" and redirected to their
> > > account page. Normally (as you know) the user is forced to enter their
> > > first/last names and their email address. However, using the remote
> > > middleware/backend the user is only asked to enable/disable syntax
> > > highlighting. They're not forced to enter their names and email
> > > address. Any ideas why this might be? Thanks
> >
> > Data received from the custom auth backend is authoritative. Anything
> > you would enter as a first/last name or email would be overwritten by
> > whatever the backend decided it should be.
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to
> [email protected]<reviewboard%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to